mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
* src/location.h (LOCATION_PRINT): Use quotearg slot 3 to avoid
clashes. * src/scan-gram.l: Use ['] instead of ['] to pacify font-lock-mode. Use complain_at. Use quote, not quote_n since LOCATION_PRINT no longer uses the slot 0.
This commit is contained in:
@@ -33,7 +33,7 @@ exp: { $$ = $1 ; };
|
||||
]])
|
||||
|
||||
AT_CHECK([bison input.y], [1], [],
|
||||
[[input.y:2.6-14: invalid value: $1
|
||||
[[input.y:2.6-14: invalid value: `$1'
|
||||
]])
|
||||
|
||||
AT_CLEANUP
|
||||
@@ -51,7 +51,7 @@ exp: { @$ = @1 ; };
|
||||
]])
|
||||
|
||||
AT_CHECK([bison input.y], [1], [],
|
||||
[[input.y:2.6-14: invalid value: @1
|
||||
[[input.y:2.6-14: invalid value: `@1'
|
||||
]])
|
||||
|
||||
AT_CLEANUP
|
||||
|
||||
Reference in New Issue
Block a user