turn macro into function -- makes it work with newer flex versions
authorAndres Loeh <mail@andres-loeh.de>
Mon, 8 Jan 2007 18:21:14 +0000 (18:21 +0000)
committerAndres Loeh <mail@andres-loeh.de>
Mon, 8 Jan 2007 18:21:14 +0000 (18:21 +0000)
tools/verbatim.lex

index 192bd87..e6d1843 100644 (file)
@@ -7,7 +7,7 @@ nl                      {sp}\n{sp}
 %{
 #define PUSH           states[top++] =
 #define POP            BEGIN states[--top]
-#define yywrap()       1
+int yywrap (void) { return 1; }
 %}
 %%
                        int states[256];