bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FLEX_PREFIX (FLEX_PREFIX (last_string)) in flex-scanner.h?


From: Paul Eggert
Subject: FLEX_PREFIX (FLEX_PREFIX (last_string)) in flex-scanner.h?
Date: Sun, 09 Jul 2006 12:47:29 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

I installed this.  I don't know why the old code was working (perhaps
because C refuses to execute recursive macros? but this one isn't
recursive!) but anyway this is a minor simplification.

2006-07-09  Paul Eggert  <address@hidden>

        * src/flex-scanner.h (STRING_FREE): Don't use FLEX_PREFIX (last_string)
        since last_string is already defined to FLEX_PREFIX (last_string).

--- src/flex-scanner.h  8 Jun 2006 05:33:15 -0000       1.3
+++ src/flex-scanner.h  9 Jul 2006 19:44:34 -0000       1.4
@@ -71,4 +71,4 @@ static struct obstack obstack_for_string
   } while (0)
 
 #define STRING_FREE \
-  obstack_free (&obstack_for_string, FLEX_PREFIX (last_string))
+  obstack_free (&obstack_for_string, last_string)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]