stage3/fill_candidate_datatypes.cc
Wed, 05 Apr 2017 13:21:50 +0100 Mario de Sousa Do datatype checking of initial values for structures and FBs, and print error messages when compiling erroneuos source code.
Tue, 04 Apr 2017 10:41:11 +0100 Mario de Sousa remove debug code left in by mistake in previous commit
Mon, 03 Apr 2017 22:18:22 +0100 Mario de Sousa Access elements[] in list_c through a new get_element() method.
Mon, 03 Apr 2017 22:06:40 +0100 Mario de Sousa Start implementation of datatype checking of initial values for structures and FBs.
Thu, 26 May 2016 15:05:34 +0100 mjsousa Fix bug: correctly handle formal function calls in IL with no parameters.
Wed, 11 May 2016 18:41:45 +0100 mjsousa Add support for non standard feature: allow POUs with no in, out and inout parameters
Mon, 09 Mar 2015 19:22:00 +0000 mjsousa Do fill/narrow datatype analysis algorithm for derived_datatype_identifier_c (fixes bug related to arrays of arrays that was generating incorrect C code).
Sun, 15 Feb 2015 16:07:29 +0000 mjsousa Fix bug introduced in 2014/10/19, while adding support for REF() opertors -> datatype checking was not catching datatype inconsistency errors!
Fri, 26 Dec 2014 10:09:27 +0000 mjsousa Change dsymbtable_c -> use design pattern used by C++ standard library (STL)
Wed, 17 Dec 2014 13:46:36 +0000 mjsousa Small code re-organization of how const values are stored in symbol_c (can now be accessed through member functions, instead of macros)
Sat, 06 Dec 2014 19:11:32 +0000 mjsousa Add a new pou_typename_c object to the AST to store references to previously declared Functions, FB, and Programs.
Sun, 16 Nov 2014 12:54:10 +0000 mjsousa Add support for relaxed datatype model for array datatypes.
Sat, 25 Oct 2014 13:17:12 +0100 mjsousa Fix bug: set the scope annotation in deref_operators used inside structs
Sat, 25 Oct 2014 11:21:40 +0100 mjsousa Filling of symbol->scope annotation moved from narrow to fill_candidate_datatypes_c (became possible because narrowing of struct, array and symbolic variables is now done directly in fill_candidate_datatypes_c)
Sat, 25 Oct 2014 11:15:55 +0100 mjsousa fill_candidate_datatypes_c now uses search_varinstance_decl_c instead of search_varfb_instance_type_c (moving towards deprecation of search_varfb_instance_type_c)
Sun, 19 Oct 2014 21:30:58 +0100 mjsousa Do the full fill_candidate/narrow_datatype algorithm for all fields of a structured variable in the fill_candidate_datatypes_c
Sun, 19 Oct 2014 08:36:49 +0100 mjsousa Fix bug: Add support for de-referencing pointers to struct (struct_ptr^.elem1) when used inside FB.
Sun, 28 Sep 2014 17:48:42 +0100 mjsousa Fix bug: add support for dereferencing of REF_TO to REF_TO xxx (e.g.: bool_var := ref_to_ref_to_bool^^;)
Sun, 28 Sep 2014 16:35:44 +0100 mjsousa Add support for de-referencing of REF_TO datatypes (Note: dereferencing of arrays and structs not yet supported!)
Fri, 08 Aug 2014 10:26:52 +0100 mjsousa Introduce absyntax class for keyword ANY, and use REF_TO(ANY) as datatype of NULL literal.
Thu, 31 Jul 2014 17:49:44 +0100 mjsousa Add support for the 'NULL' keyword, defined in version 3 of IEC 61131-3.
Sun, 13 Jul 2014 17:25:20 +0100 mjsousa Change REF() operator to return the correct REF_TO datatype datatype.
Sun, 13 Jul 2014 12:26:58 +0100 mjsousa Add support for REF_TO derived datatypes (along with datatype verification)
Sun, 02 Mar 2014 16:42:56 +0000 mjsousa Add limited support for the REF() operator (defined in v3 of IEC 61131-3)
Sun, 22 Dec 2013 09:50:02 +0000 Mario de Sousa Code cleanup: move datatype analysis to get_datatype_info_c
Wed, 21 Aug 2013 21:14:50 +0100 mjsousa Fix datatype analyses of S and R IL operators.
Tue, 20 Aug 2013 11:15:40 +0100 mjsousa Add support for FB call semantics of 'S' and 'R' IL operators!
Wed, 07 Aug 2013 10:18:29 +0100 mjsousa Fix datatype analysis of structured variables that contain arrays in their fields (e.g. var.x1[var2 + 42].y1).
Thu, 04 Apr 2013 09:45:11 +0900 Edouard Tisserant Merged Mario's changes
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.
Wed, 23 Jan 2013 14:53:14 +0000 Mario de Sousa Consider fb_name_decl_c a non base data type class!
Wed, 23 Jan 2013 14:30:03 +0000 Mario de Sousa Fill symbol->datatype anotation for FB declarations.
Wed, 23 Jan 2013 13:46:11 +0000 Mario de Sousa Fill in the symbol.datatype annotation in symbol classes used in derived data type declarations.
Mon, 11 Mar 2013 12:49:33 +0100 Laurent Bessard Fixed bug with SFC transition datatype checking
Wed, 28 Nov 2012 22:51:24 +0100 Manuele Conti Fix struct generic_function_call_t initialize style.
Thu, 22 Nov 2012 18:53:37 +0000 Mario de Sousa Start to move enumeration declaration checking to its own class.
Sun, 18 Nov 2012 12:54:48 +0100 Manuele Conti Fix some important clang++ warnings.
Thu, 15 Nov 2012 12:57:04 +0000 Mario de Sousa Do datatype verification of fully qualified enumerated values (e.g. ENUMTYPE#enumconst)
Wed, 14 Nov 2012 18:39:02 +0000 Mario de Sousa Add datatype checking of enumeration data type declarations.
Wed, 14 Nov 2012 15:18:14 +0000 Mario de Sousa Fix bug in datatype checking of enumerated datatypes delcarations.
Wed, 14 Nov 2012 14:03:57 +0000 Mario de Sousa Fix datatype checking of enumerated datatype declarations. We now follow the fill->narrow algorithm correctly.
Tue, 13 Nov 2012 18:03:17 +0000 Mario de Sousa Change the base datatype of enumerations to an enumerated_type_declaration_c (for named types!)
Fri, 09 Nov 2012 14:34:36 +0000 Mario de Sousa Check for errors in enum datatype declarations. (This is not yet complete as it will not yet stop the compilation process if these errors are found)
Thu, 08 Nov 2012 17:31:29 +0000 Mario de Sousa Use duplicate symtable instead of symtable for enum constant value table (this will later allow us to detect semantic errors in IEC 61131-3 source code)
Thu, 08 Nov 2012 12:49:03 +0000 Mario de Sousa Move the enumerated_value_symtable to fill_candidate_datatypes_c, since it is only used there!
Wed, 07 Nov 2012 20:07:11 +0000 Mario de Sousa Make search_base_type_c a singleton!
Wed, 07 Nov 2012 19:26:38 +0000 Mario de Sousa Start datatype checking of variable declarations (for now, only seting symbol.datatype of enumerations)
Wed, 07 Nov 2012 10:03:54 +0000 Mario de Sousa Do datatype checking of enum values defined inside anonymous enumeration types (i.e. enum types defined inside a VAR ... END_VAR daclaration).
Fri, 26 Oct 2012 10:11:28 +0100 Mario de Sousa Prepare to delete search_constant_type_c -> Move the static variables from search_constant_type_c to get_datatype_info_c
Thu, 25 Oct 2012 18:20:28 +0100 Mario de Sousa Correctly generate C code for IL expressions, i.e. IL instructions inside parenthesis.
Sat, 13 Oct 2012 12:13:49 +0100 Mario de Sousa Move is_datatype_valid/equal() to get_datatype_info_c
Thu, 04 Oct 2012 14:30:51 +0100 Mario de Sousa Add new get_datatype_info_c (preparing to remove search_expression_type_c)
Wed, 26 Sep 2012 20:12:39 +0200 Manuele Conti Minor changes needed to build with pedantic flag.
Fri, 31 Aug 2012 15:09:25 +0100 Mario de Sousa Start adding support for data type checking of enums.
Fri, 31 Aug 2012 10:11:19 +0100 Mario de Sousa Remove comment no longer valid since introduction of constant folding.
Thu, 30 Aug 2012 16:44:29 +0100 Mario de Sousa Add some comments.
Wed, 29 Aug 2012 19:38:15 +0100 Mario de Sousa Fix constant folding: now handles INT_MIN and neg_integer_c correctly.
Fri, 20 Jul 2012 15:50:49 +0100 Mario de Sousa Constant folding for IL.
Thu, 19 Jul 2012 11:05:41 +0100 Mario de Sousa fix bug: remove REAL from candidate datatypes when real constant has overflowed.
Wed, 18 Jul 2012 23:44:42 +0100 Mario de Sousa signed integer limits do not affect ANY_INT constant values.