summaryrefslogtreecommitdiff
path: root/mh/mh_alias_gram.y
diff options
context:
space:
mode:
Diffstat (limited to 'mh/mh_alias_gram.y')
-rw-r--r--mh/mh_alias_gram.y13
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)
{

Return to:

Send suggestions and report system problems to the System administrator.