ref: 17945a7377c38cf1757ce6f67facd7b5203fdcee
parent: 6ffa751090c7c8db55fbf3cb0f7a28e90f558a56
author: dbrotz <43593771+dbrotz@users.noreply.github.com>
date: Thu Aug 29 07:49:17 EDT 2019
Get rid of error in line continuation test The purpose of the test is to ensure that rgbasm doesn't segfault in this case. The "Macro '@' not defined" error is unnecessary.
--- a/test/asm/line-continuation.asm
+++ b/test/asm/line-continuation.asm
@@ -1,1 +1,7 @@
-foo @bar\
\ No newline at end of file
+; Test that \ after a macro invocation at the end of the file doesn't
+; cause a segfault.
+
+bar: MACRO
+ENDM
+
+foo bar baz\
\ No newline at end of file
--- a/test/asm/line-continuation.out
+++ b/test/asm/line-continuation.out
@@ -1,2 +1,0 @@
-ERROR: line-continuation.asm(2) -> @(-1):
- Macro '@' not defined
--- a/test/asm/line-continuation.out.pipe
+++ b/test/asm/line-continuation.out.pipe
@@ -1,2 +1,0 @@
-ERROR: -(2) -> @(-1):
- Macro '@' not defined