- fixed: old-style DECORATE definitions with non-alphanumeric characters in

the name produced an error.


SVN r2025 (trunk)
This commit is contained in:
Christoph Oelckers 2009-12-13 22:22:25 +00:00
commit ba106c28c4
3 changed files with 5 additions and 4 deletions

View file

@ -1229,9 +1229,6 @@ void ParseDecorate (FScanner &sc)
break;
}
default:
// without the option of game filters following, anything but an opening brace
// here means a syntax error.
sc.MustGetStringName("{");
sc.RestorePos(pos);
ParseOldDecoration(sc, DEF_Decoration);
break;