]> git.saurik.com Git - bison.git/blobdiff - src/flex-scanner.h
* src/scan-gram.l (braces_level, context_state): Make these globals
[bison.git] / src / flex-scanner.h
index bf190afd4f862551728ec79737d399ad04c2a375..3e16234c553605ad52e47c05e6e7985ff75589f3 100644 (file)
@@ -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