From: Wolfgang Bumiller Date: Thu, 25 Apr 2013 15:39:12 +0000 (+0200) Subject: change the value of TOKEN_EOF X-Git-Tag: 0.2.9~11 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c3f4b7153b3815daf271829148f40d545a6140ef;p=xonotic%2Fgmqcc.git change the value of TOKEN_EOF --- diff --git a/lexer.h b/lexer.h index 9f080dc..24ac39a 100644 --- a/lexer.h +++ b/lexer.h @@ -87,7 +87,11 @@ enum { TOKEN_WHITE, TOKEN_EOL, - TOKEN_EOF, + /* if we add additional tokens before this, the exposed API + * should not be broken anyway, but EOF/ERROR/... should + * still be at the bottom + */ + TOKEN_EOF = 1024, /* We use '< TOKEN_ERROR', so TOKEN_FATAL must come after it and any * other error related tokens as well