SQLite Forum

Missing comma in ctime.c
Login
> No, tool/mkctimec.tcl makes the declarations part of the src/ctime.c code. Unfortunately you have to manually "stuff" the output of the script into the middle of the ctime.c code replacing the autogenerated declaration part.

But then, shouldn't tool/mkctimec.tcl generate ctime.c in a completely automatic fashion, based on a template file and the actual compile-time options? This would make any manual editing of that file wrong and the whole process less error prone.

mkctime.tcl looks great by the way, it's as simple and straight-forward as I would expect it.