diff options
| author | grischka <grischka> | 2009-07-06 21:12:45 +0200 |
|---|---|---|
| committer | unknown <gr@.(none)> | 2009-07-18 21:54:58 +0200 |
| commit | 85e481b66eae4f99aafc5483955edc83b3368545 (patch) | |
| tree | 67492a36e8d00e0b1ffde4a13df72122f78bc36c /tccpp.c | |
| parent | fcdb663dde6c095f73225a2307d7dcf454aa3207 (diff) | |
| download | tinycc-85e481b66eae4f99aafc5483955edc83b3368545.tar.gz tinycc-85e481b66eae4f99aafc5483955edc83b3368545.tar.bz2 | |
pp: return newline after directive
Diffstat (limited to 'tccpp.c')
| -rw-r--r-- | tccpp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1973,6 +1973,7 @@ static inline void next_nomacro1(void) file->line_num++; tok_flags |= TOK_FLAG_BOL; p++; +maybe_newline: if (0 == (parse_flags & PARSE_FLAG_LINEFEED)) goto redo_no_start; tok = TOK_LINEFEED; @@ -1986,7 +1987,7 @@ static inline void next_nomacro1(void) file->buf_ptr = p; preprocess(tok_flags & TOK_FLAG_BOF); p = file->buf_ptr; - goto redo_no_start; + goto maybe_newline; } else { if (c == '#') { p++; |
