a44421a79fb36cc2036fe116b97ea3bc9590cd0c braney Fri Dec 2 09:34:39 2011 -0800 removed rcsid (#295) diff --git src/lib/asParse.c src/lib/asParse.c index 4ea5f09..1286da4 100644 --- src/lib/asParse.c +++ src/lib/asParse.c @@ -1,24 +1,23 @@ /* asParse - parse out an autoSql .as file. */ #include "common.h" #include "linefile.h" #include "tokenizer.h" #include "dystring.h" #include "asParse.h" -static char const rcsid[] = "$Id: asParse.c,v 1.9 2009/08/13 21:48:17 braney Exp $"; /* n.b. switched double/float from %f to %g to partially address losing * precision. Values like 2e-12 were being rounded to 0.0 with %f. While %g * doesn't match the precision of the database fields, specifying a larger * precision with %g resulted in numbers like 1.9999999999999999597733e-12, * which might impact load time. THis issue needs more investigation.*/ struct asTypeInfo asTypes[] = { {t_double, "double", FALSE, FALSE, "double", "double", "Double", "Double", "%g"}, {t_float, "float", FALSE, FALSE, "float", "float", "Float", "Float", "%g"}, {t_char, "char", FALSE, FALSE, "char", "char", "Char", "Char", "%c"}, {t_int, "int", FALSE, FALSE, "int", "int", "Signed", "Signed", "%d"}, {t_uint, "uint", TRUE, FALSE, "int unsigned", "unsigned", "Unsigned","Unsigned", "%u"}, {t_short, "short", FALSE, FALSE, "smallint", "short", "Short", "Signed", "%d"}, {t_ushort, "ushort", TRUE, FALSE, "smallint unsigned","unsigned short","Ushort", "Unsigned", "%u"}, {t_byte, "byte", FALSE, FALSE, "tinyint", "signed char", "Byte", "Signed", "%d"},