diff -r 2d96a47a75b1 -r 0e417d42cf6a stage3/forced_narrow_candidate_datatypes.cc --- a/stage3/forced_narrow_candidate_datatypes.cc Thu Oct 25 11:15:55 2012 +0100 +++ b/stage3/forced_narrow_candidate_datatypes.cc Thu Oct 25 11:28:06 2012 +0100 @@ -140,11 +140,15 @@ } /* Assert that this algorithm managed to remove all NULL datatypes! */ + /* NOTE: The forced_narrow_candidate_datatypes_c assumes that the original IEC 61131-3 source code does not have any bugs! + * This means we cannot run this assertion here, as the compiler will bork in the presence of bug in the code being compiled! Not good!! + */ + /* for(int i = symbol->n-1; i >= 0; i--) { if (NULL == symbol->elements[i]->datatype) ERROR; } - + */ return NULL; }