summaryrefslogtreecommitdiff
path: root/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'parser.y')
-rw-r--r--parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.y b/parser.y
index cc149da..ade56be 100644
--- a/parser.y
+++ b/parser.y
@@ -131,7 +131,7 @@ static const char *import_name(statement_kind_t sk);
void
yyerror(const char *s)
{
- error(s);
+ error("%s", s);
}
%}