Spotted that // wasn't being treated as a comment on frame macros. Thanks Urre.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@717 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
79c1f23370
commit
dd7934c7db
1 changed files with 9 additions and 0 deletions
|
@ -1437,6 +1437,15 @@ pbool QCC_PR_SimpleGetToken (void)
|
|||
return false;
|
||||
pr_file_p++;
|
||||
}
|
||||
if (pr_file_p[0] == '/')
|
||||
{
|
||||
if (pr_file_p[1] == '/')
|
||||
{ //comment alert
|
||||
while(*pr_file_p && *pr_file_p != '\n')
|
||||
pr_file_p++;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
i = 0;
|
||||
while ( (c = *pr_file_p) > ' ' && c != ',' && c != ';' && c != ')' && c != '(')
|
||||
|
|
Loading…
Reference in a new issue