diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-04-18 21:43:24 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-04-18 22:29:41 -0400 |
commit | 85c5f17dcd09540e31dc879166502984e483609d (patch) | |
tree | 6bc4c9ea1f265756e8b563885dabcdc0af09b0cf /dimension/directives.prologue | |
parent | 6437ab96674accfb5d5d85066e58d20887c926d7 (diff) | |
download | dimension-85c5f17dcd09540e31dc879166502984e483609d.tar.xz |
Have dmnsn_diagnostic() take a dmnsn_parse_location.
Diffstat (limited to 'dimension/directives.prologue')
-rw-r--r-- | dimension/directives.prologue | 3 |
1 files changed, 1 insertions, 2 deletions
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 |