[project @ 2003-05-22 10:27:52 by ross]
authorross <unknown>
Thu, 22 May 2003 10:27:52 +0000 (10:27 +0000)
committerross <unknown>
Thu, 22 May 2003 10:27:52 +0000 (10:27 +0000)
Make it work with newer versions of flex, which produce an extern
declaration for yywrap() unless YY_SKIP_YYWRAP is defined.

glafp-utils/sgmlverb/sgmlverb.lex

index 944de79..812cb84 100644 (file)
@@ -20,6 +20,7 @@ miranda                       ([0-9]+(\-([0-9]+)?)?)?>
 #define PUSH           states[top++] =
 #define POP            BEGIN states[--top]
 #define yywrap()       1
+#define YY_SKIP_YYWRAP
 %}
 %%
                        int states[256];