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:
terminx 2016-01-21 19:35:03 +00:00
parent 37ae2ed416
commit 39b9a77581

View file

@ -1430,6 +1430,12 @@ static int32_t C_SkipComments(void)
textptr+=2; textptr+=2;
continue; continue;
default:
C_ReportError(-1);
initprintf("%s:%d: error: malformed comment.\n", g_szScriptFileName, g_lineNumber);
C_NextLine();
g_numCompilerErrors++;
continue;
} }
continue; continue;