Report only one error when invalid shift has argument

Not to mention that incrementing a variable in a loop is kinda dumb.
This commit is contained in:
Jakub Kądziołka committed 2020-10-12 22:54:20 +02:00
1 parent 0836f67d42
commit 045a9e8b93
5 files changed
+13 -12

No files matched your search

+1
View File
@@ -1 +1,2 @@
shift
shift 3
+3 -1
View File
@@ -1,3 +1,5 @@
ERROR: shift-outside-macro.asm(1):
Cannot shift macro arguments outside of a macro
error: Assembly aborted (1 errors)!
ERROR: shift-outside-macro.asm(2):
Cannot shift macro arguments outside of a macro
error: Assembly aborted (2 errors)!