More strict checks...

This commit is contained in:
Manoel Trapier
2013-03-18 18:58:21 +01:00
committed by Manoël Trapier
parent a8d9183e25
commit 2bbd5a38de
87 changed files with 473 additions and 537 deletions

View File

@@ -27,9 +27,6 @@ int AccFileSpecifier = 0; /* return filespecifier <...> */
int AccDefined = 0; /* accept "defined(...)" */
int UnknownIdIsZero = 0; /* interpret unknown id as integer 0 */
char *string_token(char *nm, int stop_char);
void skipcomment();
void PushLex()
{
DOT = 0;
@@ -43,6 +40,10 @@ int LLlex()
return (DOT != EOF) ? GetToken(&dot) : EOF;
}
#ifdef BUFSIZ
#undef BUFSIZ
#endif
#define BUFSIZ 1024
int GetToken(struct token *ptok)