summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cpp/include.c
AgeCommit message (Collapse)Author
2023-03-26cpp: allow qid version change for #pragma onceJacob Moody
2023-03-25cpp: correct #pragma once uniqueness checkJacob Moody
2023-03-21cpp: #pragma once supportJacob Moody
2020-04-27missing headers rate a FATAL.Ori Bernstein
2020-03-17Improve the posix preprocessor.Ori Bernstein
This fixes token pasting, making it expand when it should expand, and paste before expansion when it should paste before expanding. #define CAT(a, b) a ## b #define BAR 3 #define FOO CAT(BAR, 3) FOO now produces 33, while #define CAT(a, b) a ## b #define EOF (-1) #define NOP(x) x NOP(CAT(foo, EOF)) CAT(,EOF) CAT(,) produces fooEOF (-1) <empty> respectively.
2015-07-13cpp: search source file directory first for quoted #include (thanks Ori_B)cinap_lenrek
foo.c includes bar/bar.h, which includes "baz.h"; it wants bar/baz.h meanwhile, it also includes meh/quux.h, which includes "baz.h"; it wants meh/baz.h
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen