allow ';' after @class ...

This commit is contained in:
Bill Currie 2002-08-20 21:13:18 +00:00
parent 094cf08a67
commit 3e87e3ecdf
3 changed files with 4 additions and 4 deletions

View file

@ -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;
}

View file

@ -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)

View file

@ -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);