Update the vdbe-compress.tcl script so that it accepts variable declarations

inside of #ifdef...#endif.
This enhancement is needed due to the change of check-in [39866c0ede5d6ef4].

FossilOrigin-Name: e7db056a0d76b2411cadbae077890df189e49414
This commit is contained in:
drh
2012-09-18 13:20:13 +00:00
parent f4af1089ab
commit 3a94987819
4 changed files with 14 additions and 8 deletions
+3
View File
@@ -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
}