diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-06-27 10:40:43 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-06-27 10:40:43 +0300 |
commit | 896d1c311129610bffbcc0c596926d8a1d6f1cc5 (patch) | |
tree | 9a80ddd805cd83978a7cd8e8136a5baf5c556bf4 /src/grecs-locus.h | |
parent | 440771ca0056eb20396e24f03d349a75ee1c9d22 (diff) | |
download | grecs-896d1c311129610bffbcc0c596926d8a1d6f1cc5.tar.gz grecs-896d1c311129610bffbcc0c596926d8a1d6f1cc5.tar.bz2 |
Bugfixes.
* src/grecs-lex.l (qstring_locus_fixup): New function.
Call it before returning QSTRING to exclude quotes from the
reported string locations. FIXME: This should be user-configurable.
* src/grecs-locus.h (YY_LOCATION_PRINT): Add missing argument.
Diffstat (limited to 'src/grecs-locus.h')
-rw-r--r-- | src/grecs-locus.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/grecs-locus.h b/src/grecs-locus.h index e23add2..7de0fc9 100644 --- a/src/grecs-locus.h +++ b/src/grecs-locus.h @@ -51,6 +51,7 @@ else \ fprintf(File, "%s:%u.%u", \ (Loc).beg.file, \ - (Loc).beg.line); \ + (Loc).beg.line, \ + (Loc).beg.col); \ } while (0) |