History

pp: return newline after directive

grischka committed 17 years ago

Commit 85e481b1 parent fcdb6631 file · +2 −1Browse files

Unified · Split

tccpp.c+2−1
@@ -1973,6 +1973,7 @@ static inline void next_nomacro1(void) · 1972 unmodified lines
19731973 file->line_num++;
19741974 tok_flags |= TOK_FLAG_BOL;
19751975 p++;
1976+maybe_newline:
19761977 if (0 == (parse_flags & PARSE_FLAG_LINEFEED))
19771978 goto redo_no_start;
19781979 tok = TOK_LINEFEED;
@@ -1986,7 +1987,7 @@ static inline void next_nomacro1(void) · 7 unmodified lines
19861987 file->buf_ptr = p;
19871988 preprocess(tok_flags & TOK_FLAG_BOF);
19881989 p = file->buf_ptr;
1989− goto redo_no_start;
1990+ goto maybe_newline;
19901991 } else {
19911992 if (c == '#') {
19921993 p++;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t