From bbcb54a1f40fe283a3503268dd141657598c2623 Mon Sep 17 00:00:00 2001 From: seyko Date: Mon, 27 Apr 2015 16:36:58 +0300 Subject: 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 --- libtcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtcc.c') diff --git a/libtcc.c b/libtcc.c index abef9c8..90dd185 100644 --- a/libtcc.c +++ b/libtcc.c @@ -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 -- cgit v1.3.1