Small simplification of Bison file

Thanks to Akim Demaille for the suggestion.
issue#70
Sébastien Villemot 2018-11-21 14:37:26 +01:00
parent f01c4f85c2
commit fb883bbfb0
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
2 changed files with 2 additions and 4 deletions

View File

@ -42,8 +42,7 @@ using pair_2strings = pair<string,string>;
using tuple_4strings = tuple<string,string,string,string>;
}
%parse-param { ParsingDriver &driver }
%lex-param { ParsingDriver &driver }
%param { ParsingDriver &driver }
%locations
%initial-action

View File

@ -31,9 +31,8 @@
class MacroDriver;
}
%parse-param { MacroDriver &driver }
%param { MacroDriver &driver }
%parse-param { ostream &out }
%lex-param { MacroDriver &driver }
%locations
%initial-action