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
69 trp->tp += 1;69 trp->tp += 1;
70 control(trp);70 control(trp);
71 } else if (!skipping && anymacros)71 } else if (!skipping && anymacros)
72 expandrow(trp, NULL);72 expandrow(trp, NULL, Notinmacro);
73 if (skipping)73 if (skipping)
74 setempty(trp);74 setempty(trp);
75 puttokens(trp);75 puttokens(trp);
@@ -213,7 +213,7 @@ control(Tokenrow *trp) · 137 unmodified lines
213 213
214 case KLINE:214 case KLINE:
215 trp->tp = tp+1;215 trp->tp = tp+1;
216 expandrow(trp, "<line>");216 expandrow(trp, "<line>", Notinmacro);
217 tp = trp->bp+2;217 tp = trp->bp+2;
218 kline:218 kline:
219 if (tp+1>=trp->lp || tp->type!=NUMBER || tp+3<trp->lp219 if (tp+1>=trp->lp || tp->type!=NUMBER || tp+3<trp->lp