Set the map parser scripts to not lex single chars.

qbsp treats {foo as one token, not two.
This commit is contained in:
Bill Currie 2012-09-09 17:23:55 +09:00
parent 45c48a6215
commit ea541b325d
2 changed files with 2 additions and 0 deletions

View file

@ -336,6 +336,7 @@ readMapFile
dat[size] = 0;
script = Script_New ();
script->single = "";
Script_Start (script, [fname fileSystemRepresentation], dat);
do {

View file

@ -510,6 +510,7 @@ LoadMapFile (const char *filename)
Qclose (file);
map_script = Script_New ();
map_script->single = "";
Script_Start (map_script, filename, buf);
num_entities = 0;