diff options
author | Akim Demaille <akim@lrde.epita.fr> | 2012-10-25 09:34:00 +0200 |
---|---|---|
committer | Akim Demaille <akim@lrde.epita.fr> | 2012-10-25 09:43:09 +0200 |
commit | e73ac5a09b54ad2c1e4169d7a5e309f7cf32633f (patch) | |
tree | d9feee5b2c99925e0d5951712494358b13d86046 /src/scan-gram.h | |
parent | 851e3f846852bf960587e54156dbbb5115d25f42 (diff) | |
download | bison-e73ac5a09b54ad2c1e4169d7a5e309f7cf32633f.tar.gz |
parse-gram: update the Bison interface
* src/parse-gram.y (%pure-parser, %name-prefix): Replace with...
(%define api.pure, %define api.prefix)
* src/location.h, src/scan-gram.h: Adjust to api.prefix.
Diffstat (limited to 'src/scan-gram.h')
-rw-r--r-- | src/scan-gram.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scan-gram.h b/src/scan-gram.h index ed973c78..72138a27 100644 --- a/src/scan-gram.h +++ b/src/scan-gram.h @@ -32,7 +32,7 @@ void gram_scanner_last_string_free (void); extern FILE *gram_out; extern int gram_lineno; -# define GRAM_LEX_DECL int gram_lex (YYSTYPE *val, location *loc) +# define GRAM_LEX_DECL int gram_lex (GRAM_STYPE *val, location *loc) GRAM_LEX_DECL; #endif /* !SCAN_GRAM_H_ */ |