uhoh! fuckie wuckie! nestie incwud :)

This commit is contained in:
наб 2020-12-07 01:54:39 +01:00
parent 5e9c7e5989
commit f7748a1f23
No known key found for this signature in database
GPG Key ID: BCFD0B018D2658F1

5
pp.awk

@ -16,6 +16,11 @@ BEGIN {
function input() {
if(NF == 2 && $1 == "#include") {
if(incfile != "") {
print "Nested include! (" incfile " -> " $2 ")" >> "/dev/stderr"
exit 1
}
gsub(/"/, "", $2)
incfile = dir $2