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

@ -1166,7 +1166,7 @@ ST_FUNC int tcc_add_file_internal(TCCState *s1, const char *filename, int flags,
/* if .S file, define __ASSEMBLER__ like gcc does */
if ((filetype == TCC_FILETYPE_ASM) || (filetype == TCC_FILETYPE_ASM_PP)) {
tcc_define_symbol(s1, "__ASSEMBLER__", NULL);
parse_flags = PARSE_FLAG_ASM_FILE | PARSE_FLAG_ASM_COMMENTS;
parse_flags = PARSE_FLAG_ASM_FILE;
}
#endif