replace PARSE_FLAG_ASM_COMMENTS with PARSE_FLAG_ASM_FILE

after "assign PARSE_FLAG_ASM_COMMENTS only for asm files"
    functions of this flags are identical
This commit is contained in:
seyko
2015-04-27 16:36:58 +03:00
parent 2e51f0ee63
commit bbcb54a1f4
4 changed files with 10 additions and 11 deletions

View File

@ -747,7 +747,7 @@ static int tcc_assemble_internal(TCCState *s1, int do_preprocess)
ch = file->buf_ptr[0];
tok_flags = TOK_FLAG_BOL | TOK_FLAG_BOF;
parse_flags = PARSE_FLAG_ASM_COMMENTS | PARSE_FLAG_ASM_FILE;
parse_flags = PARSE_FLAG_ASM_FILE;
if (do_preprocess)
parse_flags |= PARSE_FLAG_PREPROCESS;
next();