mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
allow ';' after @class ...
This commit is contained in:
parent
094cf08a67
commit
3e87e3ecdf
3 changed files with 4 additions and 4 deletions
|
@ -50,6 +50,7 @@ static const char rcsid[] =
|
|||
|
||||
#include "cpp.h"
|
||||
#include "options.h"
|
||||
#include "qfcc.h"
|
||||
|
||||
const char *this_program;
|
||||
const char **source_files;
|
||||
|
@ -359,5 +360,7 @@ DecodeArgs (int argc, char **argv)
|
|||
usage (1);
|
||||
}
|
||||
}
|
||||
if (options.verbosity >= 3)
|
||||
yydebug = 1;
|
||||
return optind;
|
||||
}
|
||||
|
|
|
@ -912,7 +912,7 @@ identifier_list
|
|||
;
|
||||
|
||||
classdecl
|
||||
: CLASS identifier_list
|
||||
: CLASS identifier_list ';'
|
||||
{
|
||||
expr_t *e;
|
||||
for (e = $2->e.block.head; e; e = e->next)
|
||||
|
|
|
@ -617,9 +617,6 @@ progs_src_compile (void)
|
|||
while ((src = COM_Parse (src))) {
|
||||
int err;
|
||||
|
||||
//extern int yydebug;
|
||||
//yydebug = 1;
|
||||
|
||||
if (*sourcedir)
|
||||
dsprintf (filename, "%s%c%s", sourcedir, PATH_SEPARATOR,
|
||||
com_token);
|
||||
|
|
Loading…
Reference in a new issue