diff options
Diffstat (limited to 'tool/split-sqlite3c.tcl')
-rw-r--r-- | tool/split-sqlite3c.tcl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tool/split-sqlite3c.tcl b/tool/split-sqlite3c.tcl index 230e3f254..9751e7de9 100644 --- a/tool/split-sqlite3c.tcl +++ b/tool/split-sqlite3c.tcl @@ -74,6 +74,11 @@ while {[regexp $BEGIN $line]} { incr N $n while {[gets $in line]>=0} { if {[regexp $BEGIN $line]} break + if {$N>0} { + write_one_file $all + set N 0 + set all {} + } puts $out1 $line } } |