History

Fixed bug which prevent tcc preprocessor to ignore line number directives

Alexandre Becoulet committed 16 years ago

Commit b9aeac01 parent 253bad71 file · +1 −1Browse files

Unified · Split

tccpp.c+1−1
@@ -1620,7 +1620,7 @@ include_done: · 1619 unmodified lines
16201620 pragma_parse(s1);
16211621 break;
16221622 default:
1623− if (tok == TOK_LINEFEED || tok == '!' || tok == TOK_CINT) {
1623+ if (tok == TOK_LINEFEED || tok == '!' || tok == TOK_PPNUM) {
16241624 /* '!' is ignored to allow C scripts. numbers are ignored
16251625 to emulate cpp behaviour */
16261626 } else {

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