stage1_2/stage1_2_priv.hh
changeset 756 634f476cb60f
parent 354 0f24db96b519
child 757 f1fc4aa6f0e3
equal deleted inserted replaced
755:7b90dd17f0ba 756:634f476cb60f
   103 /* print the include file stack to stderr... */
   103 /* print the include file stack to stderr... */
   104 /*********************************************/
   104 /*********************************************/
   105 /* This is a service that flex provides to bison... */
   105 /* This is a service that flex provides to bison... */
   106 void print_include_stack(void);
   106 void print_include_stack(void);
   107 
   107 
       
   108 /*****************************************************/
       
   109 /* Ask flex to include the source code in the string */
       
   110 /*****************************************************/
       
   111 /* This is a service that flex provides to bison... */
       
   112 /* The string should contain valid IEC 61131-3 source code. Bison will ask flex to insert source 
       
   113  * code into the input stream of IEC code being parsed. The code to be inserted is typically
       
   114  * generated automatically.
       
   115  * Currently this is used to insert conversion functions ***_TO_*** (as defined by the standard)
       
   116  * between user defined (i.e. derived) enumerated datatypes, and some basic datatypes 
       
   117  * (e.g. INT, STRING, etc...)
       
   118  */
       
   119 void include_string(const char *source_code);
   108 
   120 
   109 /**************************************/
   121 /**************************************/
   110 /* The name of the file being parsed. */
   122 /* The name of the file being parsed. */
   111 /**************************************/
   123 /**************************************/
   112 /* The name of the file currently being parsed...
   124 /* The name of the file currently being parsed...