From b87092f8c251d4d21a42e8ffa77357e02caa9366 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 6 Mar 2017 08:14:24 +0200 Subject: Fix compiler message --- src/gram.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gram.y b/src/gram.y index 7bdf5c1c..b818710b 100644 --- a/src/gram.y +++ b/src/gram.y @@ -672,7 +672,7 @@ decl : T_PROG state_ident T_DO stmtlist T_DONE { if ($1 & SYM_PRECIOUS) parse_error_locus(&@2.beg, - _("precious used with func")); + _("`precious' used with func")); if (($1 & (SYM_STATIC|SYM_PUBLIC)) == (SYM_STATIC|SYM_PUBLIC)) parse_error_locus(&@2.beg, @@ -835,7 +835,7 @@ constdecl : qualifiers T_CONST varname expr if ($1 & SYM_PRECIOUS) parse_error_locus(&@1.beg, - _("precious used with const")); + _("`precious' used with const")); if (($1 & (SYM_STATIC|SYM_PUBLIC)) == (SYM_STATIC|SYM_PUBLIC)) parse_error_locus(&@1.beg, -- cgit v1.2.1