bison-patches
[Top][All Lists]
Advanced

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

yystype -> YYSTYPE in src/reader.h


From: Paul Eggert
Subject: yystype -> YYSTYPE in src/reader.h
Date: Mon, 30 Dec 2002 14:37:18 -0800

Bison shouldn't use its own deprecated macros, so I installed this:

2002-12-30  Paul Eggert  <address@hidden>

        * src/reader.h (YYDECL): Use YYSTYPE, not its deprecated alias
        yystype.  This follows up the 2002-12-24 YYSTYPE bug fix.

--- src/reader.h        24 Dec 2002 07:45:22 -0000      1.36
+++ src/reader.h        30 Dec 2002 22:35:56 -0000      1.37
@@ -42,7 +42,7 @@ void scanner_initialize (void);
 void scanner_free (void);
 void scanner_last_string_free (void);
 
-# define YY_DECL int gram_lex (yystype *val, location *loc)
+# define YY_DECL int gram_lex (YYSTYPE *val, location *loc)
 YY_DECL;
 
 



reply via email to

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