stage3/lvalue_check.cc
changeset 926 b8538c5d0aeb
parent 846 24d0be6c31f7
child 971 8aee27d46208
--- a/stage3/lvalue_check.cc	Sat Aug 09 11:22:57 2014 +0100
+++ b/stage3/lvalue_check.cc	Sun Aug 10 08:27:28 2014 +0100
@@ -170,6 +170,10 @@
 	     /*********************/
 	     /* B 1.2 - Constants */
 	     /*********************/
+	     /*********************************/
+	     /* B 1.2.XX - Reference Literals */
+	     /*********************************/
+	     (typeid( *lvalue ) == typeid( ref_value_null_literal_c       )) || /* defined in IEC 61131-3 v3 - Basically the 'NULL' keyword! */
 	     /******************************/
 	     /* B 1.2.1 - Numeric Literals */
 	     /******************************/
@@ -212,6 +216,7 @@
 	     /***********************/
 	     /* B 3.1 - Expressions */
 	     /***********************/
+	     (typeid( *lvalue ) == typeid( ref_expression_c               )) || /* an extension to the IEC 61131-3 standard - based on the IEC 61131-3 v3 standard. Returns address of the variable! */
 	     (typeid( *lvalue ) == typeid( or_expression_c                )) ||
 	     (typeid( *lvalue ) == typeid( xor_expression_c               )) ||
 	     (typeid( *lvalue ) == typeid( and_expression_c               )) ||