diff options
Diffstat (limited to 'tool/vdbe-compress.tcl')
-rw-r--r-- | tool/vdbe-compress.tcl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/vdbe-compress.tcl b/tool/vdbe-compress.tcl index 3bcff9e..95cc1eb 100644 --- a/tool/vdbe-compress.tcl +++ b/tool/vdbe-compress.tcl @@ -79,6 +79,9 @@ while {![eof stdin]} { append unionDef " $line\n" append afterUnion $line\n lappend vlist $vname + } elseif {[regexp {^#(if|endif)} $line] && [llength $vlist]>0} { + append unionDef "$line\n" + append afterUnion $line\n } else { break } |