equal
deleted
inserted
replaced
28 * |
28 * |
29 * Based on the |
29 * Based on the |
30 * FINAL DRAFT - IEC 61131-3, 2nd Ed. (2001-12-10) |
30 * FINAL DRAFT - IEC 61131-3, 2nd Ed. (2001-12-10) |
31 * |
31 * |
32 */ |
32 */ |
|
33 |
|
34 |
|
35 |
|
36 /* Expressions on the left hand side of assignment statements have aditional restrictions on their datatype. |
|
37 * For example, they cannot be literals, CONSTANT type variables, function invocations, etc... |
|
38 * This class wil do those checks. |
|
39 * |
|
40 * Note that assignment may also be done when passing variables to OUTPUT or IN_OUT function parameters,so we check those too. |
|
41 */ |
|
42 |
33 |
43 |
34 |
44 |
35 #include "lvalue_check.hh" |
45 #include "lvalue_check.hh" |
36 |
46 |
37 #define FIRST_(symbol1, symbol2) (((symbol1)->first_order < (symbol2)->first_order) ? (symbol1) : (symbol2)) |
47 #define FIRST_(symbol1, symbol2) (((symbol1)->first_order < (symbol2)->first_order) ? (symbol1) : (symbol2)) |