# HG changeset patch
# User Mario de Sousa <msousa@fe.up.pt>
# Date 1351160886 -3600
# Node ID 0e417d42cf6aae10983ab011ca02d5e07f75fb44
# Parent  2d96a47a75b19db62dbefa2f1c80952b39d9e705
Comment out invalid assertion.

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;
 }