forked from gbdev/rgbds
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use more verbose syntax error messages
Fixes gbdev#385
- Loading branch information
Showing
14 changed files
with
231 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ERROR: anon-label-bad.asm(2): | ||
Label "!0" created outside of a SECTION | ||
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 | ||
error: Assembly aborted (3 errors)! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ERROR: block-comment-termination-error.asm(1): | ||
Unterminated block comment | ||
ERROR: block-comment-termination-error.asm(1): | ||
syntax error | ||
syntax error, unexpected newline | ||
error: Assembly aborted (2 errors)! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ERROR: block-comment-termination-error.asm(1): | ||
Unterminated block comment | ||
ERROR: block-comment-termination-error.asm(1): | ||
syntax error | ||
error: Assembly aborted (2 errors)! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
ERROR: label-macro-arg.asm(38) -> label-macro-arg.asm::test_char(25): | ||
Local label 'sizeof_.something' in main scope | ||
syntax error, unexpected '=' | ||
while expanding symbol "VAR_DEF" | ||
ERROR: label-macro-arg.asm(38) -> label-macro-arg.asm::test_char(25): | ||
syntax error | ||
while expanding symbol "VAR_DEF" | ||
error: Assembly aborted (2 errors)! | ||
error: Assembly aborted (1 errors)! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ERROR: label-macro-arg.asm(38) -> label-macro-arg.asm::test_char(25): | ||
Local label 'sizeof_.something' in main scope | ||
while expanding symbol "VAR_DEF" | ||
ERROR: label-macro-arg.asm(38) -> label-macro-arg.asm::test_char(25): | ||
syntax error | ||
while expanding symbol "VAR_DEF" | ||
error: Assembly aborted (2 errors)! |
Oops, something went wrong.