Don't override bison's internal 'yytnamerr' function

This is not used in all bison versions, which causes a
"defined but not used" warning for the 'rgbasm_yytnamerr'
replacement, treated as an error by 'make develop'.
This commit is contained in:
Rangi
2021-01-14 21:15:14 -05:00
committed by Eldred Habert
parent df16e64fc6
commit 93d83e17dc
4 changed files with 49 additions and 78 deletions

View File

@@ -3,5 +3,5 @@ ERROR: anon-label-bad.asm(2):
ERROR: anon-label-bad.asm(6):
Reference to anonymous label 2 before, when only 1 has been created so far
ERROR: anon-label-bad.asm(18):
syntax error, unexpected ':'
syntax error, unexpected :
error: Assembly aborted (3 errors)!

View File

@@ -1,4 +1,4 @@
ERROR: label-macro-arg.asm(38) -> label-macro-arg.asm::test_char(25):
syntax error, unexpected '='
syntax error, unexpected =
while expanding symbol "VAR_DEF"
error: Assembly aborted (1 errors)!

View File

@@ -1,3 +1,3 @@
ERROR: syntax-error.asm(2):
syntax error, unexpected 'a'
syntax error, unexpected a
error: Assembly aborted (1 errors)!