stage4/generate_c/generate_c_base.cc
changeset 177 697562a5da7c
parent 160 59d58f5e6caa
child 202 da1a8186f86f
--- a/stage4/generate_c/generate_c_base.cc	Tue May 19 16:31:35 2009 +0200
+++ b/stage4/generate_c/generate_c_base.cc	Mon May 25 12:17:10 2009 +0200
@@ -536,6 +536,14 @@
     void *visit(dword_type_name_c *symbol) {s4o.print("DWORD"); return NULL;}
     void *visit(string_type_name_c *symbol) {s4o.print("STRING"); return NULL;}
     void *visit(wstring_type_name_c *symbol) {s4o.print("WSTRING"); return NULL;}
+    /******************************************************/
+    /* Extensions to the base standard as defined in      */
+    /* "Safety Software Technical Specification,          */
+    /*  Part 1: Concepts and Function Blocks,             */
+    /*  Version 1.0 – Official Release"                   */
+    /* by PLCopen - Technical Committee 5 - 2006-01-31    */
+    /******************************************************/
+    void *visit(safebool_type_name_c *symbol) {s4o.print("SAFEBOOL"); return NULL;}
 
 /********************************/
 /* B.1.3.2 - Generic data types */
@@ -672,6 +680,7 @@
 /********************************/
   /* leave for derived classes... */
 
+
 }; /* class generate_c_basic_c */