Add rudimentary error messages to the special nodes parser

- It tells you the line number, but not the nature of the error
- Unfortunately it can't currently cope with files that don't end in a newline
This commit is contained in:
2015-01-10 12:57:17 -05:00
parent 2e0c994b9b
commit 6cae5d8bbd
3 changed files with 79 additions and 27 deletions

View File

@@ -10,4 +10,4 @@ def Varn = 3
msg 2 # Shows string 2; the omitted argument is assumed to be -1
@town-visible = 5 # Explicitly specify node number
msg 3,4 # Shows strings 3 and 4 in the message dialog
ex1 Varn,1 # Town 3, set visibility to true
ex1 Varn,1 # Town 3, set visibility to true