]> git.saurik.com Git - bison.git/blobdiff - src/parse-gram.y
doc: prefer "token" to TOKEN
[bison.git] / src / parse-gram.y
index 3120bfc210e72ddf921f04ffc34b1ed2ae26d548..5f77a5bd08abd0355531dadbbebe53503442c77a 100644 (file)
@@ -94,14 +94,14 @@ current_lhs(symbol *sym, location loc, named_ref *ref)
 %}
 
 %debug
-%verbose
+%define api.prefix "gram_"
+%define api.pure
+%define parse.lac full
 %defines
-%locations
-%pure-parser
 %error-verbose
-%define parse.lac full
-%name-prefix="gram_"
 %expect 0
+%locations
+%verbose
 
 %initial-action
 {
@@ -252,7 +252,7 @@ prologue_declaration:
                         plain_code.code, @1);
       code_scanner_last_string_free ();
     }
-| "%debug"                         { debug_flag = true; }
+| "%debug"                         { debug = true; }
 | "%define" variable content.opt
     {
       muscle_percent_define_insert ($2, @2, $3,