diff options
| author | seyko <seyko2@gmail.com> | 2015-04-10 16:31:12 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-04-10 16:31:12 +0300 |
| commit | 70dbe169b2e714ea24d6e0953ec96ac19c6cf0df (patch) | |
| tree | 081f9b8450c598c5d451ebcf43da3c12cf994b3a /libtcc.h | |
| parent | 559675b90acec03b67ed3f2cece1940f00e44c49 (diff) | |
| download | tinycc-70dbe169b2e714ea24d6e0953ec96ac19c6cf0df.tar.gz tinycc-70dbe169b2e714ea24d6e0953ec96ac19c6cf0df.tar.bz2 | |
fix a preprocessor for .S
* tell a right line number in error message
if a #line directive is wrong
* don't print an error message if we preprocess a .S file
and #line directive is wrong. This is the case of
the
# 4026 bytes
comment in *.S file.
* preprocess_skip: skip a line with
if (parse_flags & PARSE_FLAG_ASM_COMMENTS)
p = parse_line_comment(p);
if line starts with # and a preprocessor command not found.
A test program:
#if defined(CONFIG_EDD) || defined(CONFIG_EDD_MODULE)
# This repeats until either a device doesn't exist, or until
#endif
* remove a second definition of the TOK_FLAG_* and PARSE_FLAG_*
from the tccpp.c
Diffstat (limited to 'libtcc.h')
0 files changed, 0 insertions, 0 deletions
