Improve error message for negative shift arguments

This commit is contained in:
Jakub Kądziołka
2020-10-12 22:54:38 +02:00
committed by ISSOtm
parent 045a9e8b93
commit 4e1d79081c
5 changed files with 12 additions and 3 deletions

View File

@@ -580,7 +580,7 @@ assert : T_POP_ASSERT assert_type relocexpr
;
shift : T_POP_SHIFT { macro_ShiftCurrentArgs(1); }
| T_POP_SHIFT uconst { macro_ShiftCurrentArgs($2); }
| T_POP_SHIFT const { macro_ShiftCurrentArgs($2); }
;
load : T_POP_LOAD string ',' sectiontype sectorg sectattrs {