diff options
| author | Joe Soroka <gits@joesoroka.com> | 2011-02-23 15:13:08 -0800 |
|---|---|---|
| committer | Joe Soroka <gits@joesoroka.com> | 2011-02-23 15:13:08 -0800 |
| commit | 15b8a5709655b7f64e0c25f4cbf34887134cfed9 (patch) | |
| tree | 600556990a06dad7dfb08ae64ed2388cf6a6aad8 /tccpp.c | |
| parent | 85642f887cc2312a0c8d5bee5c838347a24ba835 (diff) | |
| download | tinycc-15b8a5709655b7f64e0c25f4cbf34887134cfed9.tar.gz tinycc-15b8a5709655b7f64e0c25f4cbf34887134cfed9.tar.bz2 | |
tccpp: treat gas comments in .S files as raw text, not tokens
Diffstat (limited to 'tccpp.c')
| -rw-r--r-- | tccpp.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1625,6 +1625,11 @@ include_done: } else { if (!(saved_parse_flags & PARSE_FLAG_ASM_COMMENTS)) warning("Ignoring unknown preprocessing directive #%s", get_tok_str(tok, &tokc)); + else { + /* this is a gas line comment in an 'S' file. */ + file->buf_ptr = parse_line_comment(file->buf_ptr); + goto the_end; + } } break; } |
