Fix a use-after-free. Found by Don North.

Also adjust test case to include this code.
Fixes #2.
This commit is contained in:
Olaf Seibert
2017-04-23 13:54:13 +02:00
parent 433e8ecda6
commit c771c875cb
3 changed files with 13 additions and 2 deletions

View File

@@ -15,3 +15,7 @@
.include <incl.mac<
.include =incl.mac= ; looks like assignment
.include :incl.mac: ; looks like a label
; this is an error: file does not existst
.include "does-not-exist.mac"