mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-12-18 00:11:06 +00:00
Cheap quick hack for ignoring #pragma to EOL
This commit is contained in:
parent
904c45060b
commit
894e1976e3
1 changed files with 7 additions and 1 deletions
8
parser.c
8
parser.c
|
@ -3299,7 +3299,13 @@ static bool parse_pragma_do(parser_t *parser)
|
|||
else
|
||||
{
|
||||
(void)!parsewarning(parser, WARN_UNKNOWN_PRAGMAS, "ignoring #pragma %s", parser_tokval(parser));
|
||||
return false;
|
||||
|
||||
/* skip to eol */
|
||||
while (!parse_eol(parser)) {
|
||||
parser_next(parser);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue