X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/b9e4eb5b7288c5cdf35f26d74786a3aacf56e137..4f84717d23365a42ca421267baa3c51cc1b5108b:/data/glr.cc diff --git a/data/glr.cc b/data/glr.cc index 5cad0b16..dada42c3 100644 --- a/data/glr.cc +++ b/data/glr.cc @@ -266,20 +266,7 @@ b4_copyright([Skeleton interface for Bison GLR parsers in C++], class ]b4_parser_class_name[ { public: -#ifndef YYSTYPE -]b4_semantic_type_declare[ -#else - typedef YYSTYPE semantic_type; -#endif - /// Symbol locations. - typedef ]b4_percent_define_get([[location_type]])[ location_type; - /// Tokens. - struct token - { - ]b4_token_enums(b4_tokens)[ - }; - /// Token type. - typedef token::yytokentype token_type; +]b4_public_types_declare[ /// Build a parser object. ]b4_parser_class_name[ (]b4_parse_param_decl[);