diff options
author | Joel E. Denny <jdenny@ces.clemson.edu> | 2008-04-21 06:54:39 +0000 |
---|---|---|
committer | Joel E. Denny <jdenny@ces.clemson.edu> | 2008-04-21 06:54:39 +0000 |
commit | 1cfe6375ce4302e7252d4eb5910a400f292ad1f2 (patch) | |
tree | d20817f62e52a8f5862258b8504b9619b185e24c /src/parse-gram.h | |
parent | 8452fdd914e4a0ed6645f1bfa12134cf74c35a0b (diff) | |
download | bison-1cfe6375ce4302e7252d4eb5910a400f292ad1f2.tar.gz |
Update to the current gnulib CVS repository, and fix trigraph handling
in Bison.
* bootstrap: Update gnulib CVS repository URL.
(symlink_to_dir): Encapsulate the code that guarantees the destination
directory exists into...
(check_dst_dir): ... this new function, and...
(cp_mark_as_generated): ... reuse it here so that bootstrap doesn't
fail when copying files into lib/uniwidth/.
* src/output.c (prepare_symbols): When writing yytname muscles, where
symbol names will be encoded in C-string literals, tell quotearg to
escape trigraphs. This used to be the default in gnulib.
* tests/regression.at (Token definitions): Because of the change in
gnulib's quotearg behavior, string_as_id in parse-gram.y no longer
escapes trigraphs in symbol names. Thus, yytname no longer has
trigraphs unnecessarily doubly escaped. Update test case output.
Extend test case to be sure Bison's own error messages will no longer
have trigraphs in symbol names unnecessarily escaped once.
Diffstat (limited to 'src/parse-gram.h')
-rw-r--r-- | src/parse-gram.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse-gram.h b/src/parse-gram.h index d8169eb8..86ac4b52 100644 --- a/src/parse-gram.h +++ b/src/parse-gram.h @@ -160,7 +160,7 @@ typedef union YYSTYPE { -/* Line 1685 of yacc.c */ +/* Line 1681 of yacc.c */ #line 94 "parse-gram.y" symbol *symbol; @@ -174,7 +174,7 @@ typedef union YYSTYPE -/* Line 1685 of yacc.c */ +/* Line 1681 of yacc.c */ #line 179 "parse-gram.h" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 |