absyntax_utils/search_base_type.cc
changeset 921 d228aaa4d616
parent 919 8da635655f37
child 945 477393b00f95
--- a/absyntax_utils/search_base_type.cc	Wed Aug 06 10:43:15 2014 +0100
+++ b/absyntax_utils/search_base_type.cc	Fri Aug 08 10:26:52 2014 +0100
@@ -133,12 +133,6 @@
 /*********************/
 /* B 1.2 - Constants */
 /*********************/
-/*********************************/
-/* B 1.2.XX - Reference Literals */
-/*********************************/
-/* defined in IEC 61131-3 v3 - Basically the 'NULL' keyword! */
-/* See the comment in fill_candidate_datatypes_c::visit(ref_value_null_literal_c) for reason why we use this symbol as a datatype! */
-void *search_base_type_c::visit(ref_value_null_literal_c *symbol) {return (void *)symbol;}
 
 /******************************/
 /* B 1.2.1 - Numeric Literals */
@@ -218,6 +212,11 @@
 void *search_base_type_c::visit(safewstring_type_name_c *symbol)  {return (void *)symbol;}
 
 /********************************/
+/* B.1.3.2 - Generic data types */
+/********************************/
+void *search_base_type_c::visit(generic_type_any_c *symbol)       {return (void *)symbol;}
+
+/********************************/
 /* B 1.3.3 - Derived data types */
 /********************************/
 /*  simple_type_name ':' simple_spec_init */