Fix FB calls in IL (FB variable name was showing up extraneously before the C function that initializes the POU containing the FB call)
--- a/stage4/generate_c/generate_c_inlinefcall.cc Sat Jun 06 18:58:50 2015 +0100
+++ b/stage4/generate_c/generate_c_inlinefcall.cc Mon Jun 08 19:01:56 2015 +0100
@@ -295,6 +295,19 @@
return NULL;
}
+ /*************************/
+ /* B.1 - Common elements */
+ /*************************/
+ /*******************************************/
+ /* B 1.1 - Letters, digits and identifiers */
+ /*******************************************/
+ void *visit(identifier_c *symbol) {
+ if (generating_inlinefunction) {
+ return generate_c_base_c::visit(symbol); // let the base class handle it...
+ }
+ return NULL;
+ }
+
/*********************/
/* B 1.4 - Variables */
/*********************/