History

Plan 9 from Bell Labs Fourth Edition 2007-12-01

David du Colombier committed 18 years ago

Commit 05dd1641 parent 23566e010 files · +84 −28Browse files

Showing the changes to sys/src/cmd/cpp/cpp.c (1 of 10 files). Show all

Unified · Split

sys/src/cmd/cpp/cpp.c+2−2
@@ -69,7 +69,7 @@ process(Tokenrow *trp) · 68 unmodified lines
6969 trp->tp += 1;
7070 control(trp);
7171 } else if (!skipping && anymacros)
72− expandrow(trp, NULL);
72+ expandrow(trp, NULL, Notinmacro);
7373 if (skipping)
7474 setempty(trp);
7575 puttokens(trp);
@@ -213,7 +213,7 @@ control(Tokenrow *trp) · 137 unmodified lines
213213
214214 case KLINE:
215215 trp->tp = tp+1;
216− expandrow(trp, "<line>");
216+ expandrow(trp, "<line>", Notinmacro);
217217 tp = trp->bp+2;
218218 kline:
219219 if (tp+1>=trp->lp || tp->type!=NUMBER || tp+3<trp->lp