From 85c5f17dcd09540e31dc879166502984e483609d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 18 Apr 2010 21:43:24 -0400 Subject: Have dmnsn_diagnostic() take a dmnsn_parse_location. --- dimension/directives.prologue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dimension/directives.prologue') diff --git a/dimension/directives.prologue b/dimension/directives.prologue index 3649bed..0bb7cad 100644 --- a/dimension/directives.prologue +++ b/dimension/directives.prologue @@ -23,8 +23,7 @@ void yyerror(YYLTYPE *locp, const char *filename, void *yyscanner, 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); } static int -- cgit v1.2.3