diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:14:01 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:14:01 +0000 |
commit | 850fb2e7f94b4e0e9fbf3538ad9e3c44c9fed74b (patch) | |
tree | a09f4376fe75073ed19fb5dd1de0fce4c898adb9 /Src/makepro.awk | |
parent | 7a40d6c258ad87d147ee5d6839e746c33ebc0ac7 (diff) | |
download | zsh-850fb2e7f94b4e0e9fbf3538ad9e3c44c9fed74b.tar.gz zsh-850fb2e7f94b4e0e9fbf3538ad9e3c44c9fed74b.tar.xz zsh-850fb2e7f94b4e0e9fbf3538ad9e3c44c9fed74b.zip |
zsh-3.1.5-pws-7 zsh-3.1.5-pws-7
Diffstat (limited to 'Src/makepro.awk')
-rw-r--r-- | Src/makepro.awk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Src/makepro.awk b/Src/makepro.awk index 86117fcc1..3306d41d4 100644 --- a/Src/makepro.awk +++ b/Src/makepro.awk @@ -40,6 +40,13 @@ BEGIN { aborting = 1 exit 1 } + if (line == "" && $0 ~ /^[ \t]*#/) { + # Directly after the /**/ was a preprocessor line. + # Spit it out and re-start the outer loop. + printf "%s\n", $0 + locals = locals $0 "\n" + next + } gsub(/\t/, " ") line = line " " $0 gsub(/\/\*([^*]|\*+[^*\/])*\*+\//, " ", line) |