equal
deleted
inserted
replaced
28 * An IEC 61131-3 compiler. |
28 * An IEC 61131-3 compiler. |
29 * |
29 * |
30 * Based on the |
30 * Based on the |
31 * FINAL DRAFT - IEC 61131-3, 2nd Ed. (2001-12-10) |
31 * FINAL DRAFT - IEC 61131-3, 2nd Ed. (2001-12-10) |
32 * |
32 * |
|
33 */ |
|
34 |
|
35 /* NOTE: The algorithm implemented here assumes that the symbol_c.candidate_datatype, and the symbol_c.datatype |
|
36 * annotations have already been apropriately filled in! |
|
37 * BEFORE running this visitor, be sure to CALL the fill_candidate_datatypes_c, and the narrow_candidate_datatypes_c visitors! |
|
38 */ |
|
39 |
|
40 |
|
41 /* |
|
42 * By analysing the candidate datatype lists, as well as the chosen datatype for each expression, determine |
|
43 * if an datatype error has been found, and if so, print out an error message. |
33 */ |
44 */ |
34 |
45 |
35 |
46 |
36 #include "../absyntax_utils/absyntax_utils.hh" |
47 #include "../absyntax_utils/absyntax_utils.hh" |
37 #include "datatype_functions.hh" |
48 #include "datatype_functions.hh" |