diff options
Diffstat (limited to 'mh/mh_alias_gram.y')
-rw-r--r-- | mh/mh_alias_gram.y | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mh/mh_alias_gram.y b/mh/mh_alias_gram.y index a83120d44..653c66823 100644 --- a/mh/mh_alias_gram.y +++ b/mh/mh_alias_gram.y @@ -119,6 +119,12 @@ int yylex (void); %type <string> address %type <alias> alias +%define api.prefix {ali_yy} +%code requires { +#define ALI_YYLTYPE struct mu_locus_range +#define yylloc ali_yylloc +#define yylval ali_yylval +} %locations %% @@ -207,6 +213,13 @@ string_list : STRING %% +int +yyerror (char *s) +{ + mu_error ("%s", s); + return 0; +} + static mu_list_t ali_list_dup (mu_list_t src) { |