X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/457bf91968a87a01dfb5317b008497ac4dcde8a4..bfdcc3a0b273c116e01d289ce52d400f22e4da14:/src/parse-gram.y diff --git a/src/parse-gram.y b/src/parse-gram.y index 3120bfc2..5f77a5bd 100644 --- a/src/parse-gram.y +++ b/src/parse-gram.y @@ -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,