mirror of
https://github.com/thiagoralves/OpenPLC_v3.git
synced 2026-09-25 08:44:06 +08:00
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:
@@ -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!"
|
||||
|
||||
Reference in New Issue
Block a user