mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
Add CON compiler error for malformed comments
git-svn-id: https://svn.eduke32.com/eduke32@5571 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
37ae2ed416
commit
39b9a77581
1 changed files with 6 additions and 0 deletions
|
@ -1430,6 +1430,12 @@ static int32_t C_SkipComments(void)
|
|||
|
||||
textptr+=2;
|
||||
continue;
|
||||
default:
|
||||
C_ReportError(-1);
|
||||
initprintf("%s:%d: error: malformed comment.\n", g_szScriptFileName, g_lineNumber);
|
||||
C_NextLine();
|
||||
g_numCompilerErrors++;
|
||||
continue;
|
||||
}
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in a new issue