summaryrefslogtreecommitdiffstats
path: root/dimension/grammar.prologue
diff options
context:
space:
mode:
Diffstat (limited to 'dimension/grammar.prologue')
-rw-r--r--dimension/grammar.prologue3
1 files changed, 1 insertions, 2 deletions
diff --git a/dimension/grammar.prologue b/dimension/grammar.prologue
index 6f8e312..9a00b89 100644
--- a/dimension/grammar.prologue
+++ b/dimension/grammar.prologue
@@ -23,6 +23,5 @@ void
yyerror(YYLTYPE *locp, const char *filename, void *yyscanner,
dmnsn_astree *astree, dmnsn_symbol_table *symtable, const char *str)
{
- dmnsn_diagnostic(locp->first_filename, locp->first_line, locp->first_column,
- "%s", str);
+ dmnsn_diagnostic(*locp, "%s", str);
}