-/* 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.
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 \
} while (0)
#define STRING_FREE \
- obstack_free (&obstack_for_string, FLEX_PREFIX (last_string))
+ obstack_free (&obstack_for_string, last_string)
+
+#endif