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
1973 file->line_num++;1973 file->line_num++;
1974 tok_flags |= TOK_FLAG_BOL;1974 tok_flags |= TOK_FLAG_BOL;
1975 p++;1975 p++;
1976maybe_newline:
1976 if (0 == (parse_flags & PARSE_FLAG_LINEFEED))1977 if (0 == (parse_flags & PARSE_FLAG_LINEFEED))
1977 goto redo_no_start;1978 goto redo_no_start;
1978 tok = TOK_LINEFEED;1979 tok = TOK_LINEFEED;
@@ -1986,7 +1987,7 @@ static inline void next_nomacro1(void) · 7 unmodified lines
1986 file->buf_ptr = p;1987 file->buf_ptr = p;
1987 preprocess(tok_flags & TOK_FLAG_BOF);1988 preprocess(tok_flags & TOK_FLAG_BOF);
1988 p = file->buf_ptr;1989 p = file->buf_ptr;
1989 goto redo_no_start;1990 goto maybe_newline;
1990 } else {1991 } else {
1991 if (c == '#') {1992 if (c == '#') {
1992 p++;1993 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