X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/f2e690d8c3bd18e47949f06dd37a877ff2c3dd2c..2d2c1a2decf4785a02315913cf52e45b5c1ac4f8:/src/flex-scanner.h diff --git a/src/flex-scanner.h b/src/flex-scanner.h index bf190afd..3e16234c 100644 --- a/src/flex-scanner.h +++ b/src/flex-scanner.h @@ -1,4 +1,4 @@ -/* Common parts between scan-code.l and scan-gram.l. +/* Common parts between scan-code.l, scan-gram.l, and scan-skel.l. Copyright (C) 2006 Free Software Foundation, Inc. @@ -59,6 +59,8 @@ int FLEX_PREFIX (lex_destroy) (void); STRING_FINISH also stores this string in LAST_STRING, which can be used, and which is used by STRING_FREE to free the last string. */ +#ifndef FLEX_NO_OBSTACK + static struct obstack obstack_for_string; #define STRING_GROW \ @@ -72,3 +74,5 @@ static struct obstack obstack_for_string; #define STRING_FREE \ obstack_free (&obstack_for_string, last_string) + +#endif