assyrianic / sptools

a frontend library for the SourcePawn scripting language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing semicolon in methodmaps function declarations leads to a crash

GAMMACASE opened this issue · comments

This code leads to a crash:

methodmap A
{
	public native void B()
}

Note the missing semicolon after method B declaration.

Investigated this, this is because the parsing errors out but the printing process crashes when trying to make the output file.
This is technically valid SP but I haven't prepped the parser to take newlines instead of semicolons.