aboutsummaryrefslogtreecommitdiff
path: root/tccasm.c
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2015-04-20 03:44:08 +0300
committerseyko <seyko2@gmail.com>2015-04-20 03:44:08 +0300
commit5ce2154c74d770b4e4c1fb0868f744418a90df80 (patch)
tree16ef3870ea2cd1b4ecb097fdf9c0efa9eafda3ee /tccasm.c
parent9336fa7ae50ef60cb0049136a7831e7e8d94a20a (diff)
downloadtinycc-5ce2154c74d770b4e4c1fb0868f744418a90df80.tar.gz
tinycc-5ce2154c74d770b4e4c1fb0868f744418a90df80.tar.bz2
-fdollar-in-identifiers addon
* disable a -fdollar-in-identifiers option in assembler files * a test is added This is a patch addon from Daniel Holden.
Diffstat (limited to 'tccasm.c')
-rw-r--r--tccasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccasm.c b/tccasm.c
index d9c929c..3fa6f07 100644
--- a/tccasm.c
+++ b/tccasm.c
@@ -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_flags = PARSE_FLAG_ASM_COMMENTS | PARSE_FLAG_ASM_FILE;
if (do_preprocess)
parse_flags |= PARSE_FLAG_PREPROCESS;
next();