+
+
+
/*
parser.c: Generate helper declarations and functions to trace events
if(!strcmp("format",token)) {
getEqual(in);
t->fmt = allocAndCopy(getQuotedString(in));
+ // printf("%s - ",t->fmt);
//} else if(!strcmp("name",token)) {
// getEqual(in);
// car = seekNextChar(in);
crc = partial_crc32(str,crc);
if(flag) free(str);
- if(type->fmt) crc = partial_crc32(type->fmt,crc);
+ //the format string is not included in the crc calculation
+
+ //if(type->fmt) crc = partial_crc32(type->fmt,crc);
if(type->type == ARRAY){
crc = getTypeChecksum(crc,((field_t*)type->fields.array[0])->type);