aboutsummaryrefslogtreecommitdiff
path: root/tccelf.c
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2016-04-15 17:15:11 +0300
committerseyko <seyko2@gmail.com>2016-04-15 17:15:11 +0300
commitc6dc756d4e6905df8498596f5bd0c5a6aa1c6d24 (patch)
tree06ee2a1b3b170b689f3b063c4b17e1ac60e3a19d /tccelf.c
parent16cbca281fe5d22cd3e6f548cae59d19c31d30ac (diff)
downloadtinycc-c6dc756d4e6905df8498596f5bd0c5a6aa1c6d24.tar.gz
tinycc-c6dc756d4e6905df8498596f5bd0c5a6aa1c6d24.tar.bz2
preprocessor oprtion -C (keep comments)
This is done by impression of the pcc -C option. Usual execution path and speed are not changed.
Diffstat (limited to 'tccelf.c')
-rw-r--r--tccelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccelf.c b/tccelf.c
index 196dd65..a09e36a 100644
--- a/tccelf.c
+++ b/tccelf.c
@@ -3282,7 +3282,7 @@ static int ld_next(TCCState *s1, char *name, int name_size)
case '/':
minp();
if (ch == '*') {
- file->buf_ptr = parse_comment(file->buf_ptr);
+ file->buf_ptr = parse_comment(file->buf_ptr,0);
ch = file->buf_ptr[0];
goto redo;
} else {