stage4/generate_c/generate_c.cc
Sat, 31 May 2014 12:49:43 +0100 mjsousa Remove dead code previously left in by mistake.
Wed, 28 May 2014 11:32:09 +0200 Edouard Tisserant merge
Sat, 29 Mar 2014 22:46:09 +0000 mjsousa Change order of SET_xxx() macros. (this will allow me to simplify the print_setter() methods later on)
Thu, 27 Mar 2014 09:52:13 +0100 Edouard Tisserant More static declarations in POUS.c in order to avoid conflicting symbol definitions with new POUS.c inclusion scheme
Wed, 26 Mar 2014 13:20:45 +0100 Edouard Tisserant Fix multiple resources support, POUS.c now only contain static definitions. POUS.c is included in configuration C code as well as in resources to allow GLOBAL FBs to be declared in configurations
Thu, 20 Mar 2014 17:27:29 +0100 Edouard Tisserant Disable stage4 options with on windows since getsuboptr isn't supported in mingw
Sun, 16 Mar 2014 13:02:28 +0000 mjsousa Make generation of #line directives optional.
Sun, 02 Mar 2014 16:42:56 +0000 mjsousa Add limited support for the REF() operator (defined in v3 of IEC 61131-3)
Mon, 24 Feb 2014 22:00:55 +0000 mjsousa Remove assertion being failed by IL labels (IL labels do not yet have specific datatypes).
Tue, 11 Feb 2014 10:55:27 +0000 mjsousa merge
Mon, 06 Jan 2014 12:25:21 +0000 Mario de Sousa Fix bug: correctly generate code when accessing external variables declared inside FBs as a structured variable (realvar := fb1.fb2.extvar1.realvar)
Sat, 08 Feb 2014 23:10:12 +0000 mjsousa Code cleanup (part 2): generate_typedecl_c now only prints to POUS.h !
Sat, 08 Feb 2014 10:32:26 +0000 mjsousa Fix bug - correctly declare struct members whose type is a directly defined array (e.g.: STRUCT x: ARRAY of XXX; END_STRUCT)
Sun, 22 Dec 2013 09:50:02 +0000 Mario de Sousa Code cleanup: move datatype analysis to get_datatype_info_c
Fri, 20 Dec 2013 11:44:38 +0000 Mario de Sousa Fix bug-fix of previous commit.
Thu, 19 Dec 2013 19:38:29 +0000 Mario de Sousa Fix bug: allow use, as lvalues, structures/arrays inside FBs (e.g. fb1.struct1.r := 33.3).
Thu, 18 Apr 2013 22:27:01 +0200 Laurent Bessard Fixed bug when defining task with single_data_source instead of interval_data_source
Wed, 13 Feb 2013 18:56:25 +0000 Mario de Sousa Add a new node to the abstract symtax tree, which will let us do datatype checking of FB variable declarations using the standard algorithm, and no special cases.
Thu, 03 Jan 2013 18:23:07 +0000 Mario de Sousa grand merge
Mon, 03 Dec 2012 14:06:49 +0000 Mario de Sousa Small code cleanup.
Thu, 15 Nov 2012 22:28:53 +0100 Laurent Bessard Adding support for declaring function block instances as global and external variables
Thu, 04 Oct 2012 15:10:45 +0100 Mario de Sousa Merge
Wed, 26 Sep 2012 20:12:39 +0200 Manuele Conti Minor changes needed to build with pedantic flag.
Mon, 22 Oct 2012 17:44:40 +0200 Laurent Bessard Merged
Sun, 21 Oct 2012 16:55:08 +0200 Laurent Bessard Adding support for direct array declaration in structure element declaration
Fri, 19 Oct 2012 12:10:32 +0200 Edouard Tisserant Added double curly braces for pragma (kept single curly braces for compatibility). Added macro def and undef surrounding pragma to simplify user code. Moved useless comment from generated code back to code generator.
Thu, 13 Sep 2012 15:14:55 +0200 Laurent Bessard Adding error message when task interval value is not supported
Thu, 13 Sep 2012 09:55:00 +0200 Laurent Bessard Adding error message when task interval value is not supported
Wed, 22 Aug 2012 16:46:17 +0200 Laurent Bessard Merge with c2546c6e0cfa5ad55b288895f17f1b9f2a228f3b
Fri, 17 Aug 2012 19:03:13 +0100 Mario de Sousa Moving function to correct location (formating only).
Sat, 04 Aug 2012 09:59:52 +0200 Manuele Conti Fix bug in code generation for FB IN_OUT structured parameter.
Fri, 20 Jul 2012 15:50:49 +0100 Mario de Sousa Constant folding for IL.
Fri, 15 Jun 2012 19:54:33 +0100 Mario de Sousa Add ERROR_MSG macro && move extract_XXX() functions to constant_folding.cc
Thu, 14 Jun 2012 12:00:19 +0100 Mario de Sousa Clean up code (remove parsing of integers in stage 4).
Wed, 13 Jun 2012 19:43:12 +0100 Mario de Sousa Add 'dimension' parameter to subrange_c, fill it correctly, and use it.
Tue, 12 Jun 2012 22:32:09 +0200 Manuele Conti Fix extract_integer_value.
Wed, 09 May 2012 23:04:03 +0100 mjsousa Merge changes.
Wed, 09 May 2012 23:00:10 +0100 mjsousa Fix parsing os TIME literals & rename the extract_integer() function.
Tue, 24 Apr 2012 16:49:43 +0200 Conti Manuele Fix code generation about __INIT_GLOBAL_LOCATED.
Wed, 18 Apr 2012 13:29:08 +0100 Mario de Sousa Start having nicer stage 4 error messages.
Sat, 14 Apr 2012 16:53:35 +0100 Mario de Sousa Fix typo in comparison expression.
Sat, 31 Mar 2012 21:34:20 +0100 Mario de Sousa merge with Laurent's changeset (essentially, ignore all changes).
Sat, 31 Mar 2012 15:30:38 +0100 Mario de Sousa merging with Laurent's revision 55b074ea7255 (essentially ignoring all changes)
Wed, 01 Feb 2012 19:49:11 +0000 Mario de Sousa Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Tue, 14 Aug 2012 19:40:01 +0200 Laurent Bessard Fix bug with InOut variable of structured type
Fri, 24 Feb 2012 14:16:51 +0100 laurent Fix bug with overloaded function due to literal input values
Fri, 03 Feb 2012 00:09:52 +0100 laurent Fix bug with functions like LEN and TRUNC that have overloaded return type for same inputs type
Wed, 25 Jan 2012 01:16:30 +0100 laurent Adding Common_Ticktime to informations printed in VARIABLES.csv file
Fri, 30 Dec 2011 18:25:39 +0100 laurent Fixing bug with external variables refering to global variables defined in configurations
Fri, 18 Nov 2011 17:28:37 +0100 laurent Fixing generated code for global variables. Adding support for defining global variables with complex type
Sun, 09 Oct 2011 20:18:55 +0200 laurent Fix bug in code generation of directly declared array variables that generate wrong code when using located variables in a program POU
Wed, 14 Sep 2011 22:58:39 +0200 laurent Adding support for compiling direct array specification inside variable declaration
Fri, 19 Aug 2011 20:48:05 +0100 Mario de Sousa Merging with Laurent's repository.
Fri, 29 Jul 2011 16:03:28 +0100 Mario de Sousa Support for semantic verification of calls to standard functions.
Tue, 12 Jul 2011 22:20:28 +0200 laurent Fix bug with inline function call in POU programmed in IL
Wed, 29 Jun 2011 12:28:13 +0200 laurent Fix warning on nop statement at the end of function_block and program generated code
Thu, 09 Jun 2011 17:51:00 +0200 laurent Fix bug when generating initial value for function return type when it is a complex type
Tue, 05 Apr 2011 18:31:55 +0100 Mario de Sousa fixing C code generation of return_statement_c and exit_statement_c
Tue, 05 Apr 2011 15:14:19 +0200 Edouard Tisserant Re-generated std lib related code, with updated headers, updated all forgotten headers
Mon, 04 Apr 2011 17:19:35 +0200 Edouard Tisserant Merge