Clean up b4_check_percent_code_qualifiers a little.

* data/bison.m4 (b4_check_percent_code_qualifiers): Expect qualifiers
in b4_used_percent_code_qualifiers to be double-M4-quoted.  Rewrite
documentation and add examples.
* src/parse-gram.y (grammar_declaration): Double-M4-quote those
qualifiers here.
This commit is contained in:
Joel E. Denny
2007-01-06 23:12:25 +00:00
parent 08af01c2fc
commit 1c7b7e1d87
5 changed files with 121 additions and 98 deletions

View File

@@ -1,3 +1,4 @@
/* A Bison parser, made by GNU Bison 2.3a+. */
/* Skeleton interface for Bison's Yacc-like parsers in C
@@ -178,7 +179,7 @@ typedef union YYSTYPE
}
/* Line 1546 of yacc.c */
#line 182 "parse-gram.h"
#line 183 "parse-gram.h"
YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
@@ -203,4 +204,3 @@ typedef struct YYLTYPE