Added more iec2c flags

New flags added support for:
  - use of forward references
  - relaxed datatype equivalence model
  - use of references (REF_TO, REF, ^, NULL)
  - use of REF_TO ANY datatypes as well as REF_TO in ARRAYs and STRUCTs
  - use of non-literals in array size limits
This commit is contained in:
Thiago Alves
2021-02-17 14:09:42 -05:00
committed by GitHub
parent a0b021d746
commit 2203ebd386
+1 -1
View File
@@ -17,7 +17,7 @@ cd ..
echo "Optimizing ST program..."
./st_optimizer ./st_files/"$1" ./st_files/"$1"
echo "Generating C files..."
./iec2c ./st_files/"$1"
./iec2c -f -l -p -r -R -a ./st_files/"$1"
if [ $? -ne 0 ]; then
echo "Error generating C files"
echo "Compilation finished with errors!"