mirror of
git://git.gnu.org.ua/imprimatur.git
synced 2025-04-26 08:39:53 +03:00
emptynodes.awk: Skip over @macro..@end macro blocks.
This commit is contained in:
parent
3e80764bc2
commit
999cefa29e
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,8 @@ function report() {
|
|||
else
|
||||
print FILENAME ":" FNR ": (unknown)" > "/dev/stderr"
|
||||
}
|
||||
skip_to && $1 == "@end" && $2 == skip_to { skip_to = ""; next }
|
||||
skip_to { next }
|
||||
/@c imprimatur-ignore/ { ignore = FILENAME }
|
||||
ignore == FILENAME { next }
|
||||
$1 == "@WRITEME" {
|
||||
|
@ -53,6 +55,7 @@ $1 == "@WRITEME" {
|
|||
next
|
||||
}
|
||||
$1 == "@bye" { state = 0; node_locus = "" }
|
||||
$1 == "@macro" { skip_to = "macro"; next }
|
||||
$1 == "@include" && scriptname {
|
||||
ofile = $2
|
||||
cmd = "find " includepath " -maxdepth 1 -name " ofile " -print -quit"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue