Thu, 27 Sep 2012 18:14:52 +0100 |
Mario de Sousa |
Also check FB passed as parameters in FB/Function calls (Thanks Andreas!)
|
changeset |
files
|
Wed, 26 Sep 2012 20:12:39 +0200 |
Manuele Conti |
Minor changes needed to build with pedantic flag.
|
changeset |
files
|
Fri, 21 Sep 2012 09:54:10 +0100 |
Mario de Sousa |
Also check external/global variable consistency in configurations and FBs.
|
changeset |
files
|
Fri, 21 Sep 2012 09:53:20 +0100 |
Mario de Sousa |
add method for printing class_name. USE ONLY FOR DEBUGING!
|
changeset |
files
|
Wed, 19 Sep 2012 11:23:15 +0100 |
Mario de Sousa |
store POU reference to POU declaration instead of global var declarations.
|
changeset |
files
|
Tue, 18 Sep 2012 14:21:19 +0200 |
Manuele Conti |
Start declaration check class.
|
changeset |
files
|
Fri, 14 Sep 2012 23:35:18 +0200 |
Manuele Conti |
Start declaration check class.
|
changeset |
files
|
Thu, 13 Sep 2012 17:12:40 +0100 |
Mario de Sousa |
Adjust coding style.
|
changeset |
files
|
Sat, 08 Sep 2012 10:44:04 +0100 |
agraeper |
list_c: initial capacity. ERROR_MSG(msg,...) supports optional arguments now.
|
changeset |
files
|
Fri, 31 Aug 2012 19:30:48 +0100 |
Mario de Sousa |
Deleting datatype checks no longer needed (with a view of making search_expression_type_c redundant).
|
changeset |
files
|
Fri, 31 Aug 2012 15:09:25 +0100 |
Mario de Sousa |
Start adding support for data type checking of enums.
|
changeset |
files
|
Fri, 31 Aug 2012 10:11:19 +0100 |
Mario de Sousa |
Remove comment no longer valid since introduction of constant folding.
|
changeset |
files
|
Thu, 30 Aug 2012 16:44:29 +0100 |
Mario de Sousa |
Add some comments.
|
changeset |
files
|
Thu, 30 Aug 2012 15:06:32 +0200 |
Manuele Conti |
Update configure script.
|
changeset |
files
|
Thu, 30 Aug 2012 13:35:15 +0100 |
Mario de Sousa |
More precise handling of const value status.
|
changeset |
files
|
Thu, 30 Aug 2012 13:08:02 +0100 |
Mario de Sousa |
Fix bug in checking array ranges.
|
changeset |
files
|
Thu, 30 Aug 2012 13:06:54 +0100 |
Mario de Sousa |
Add more info to error messages.
|
changeset |
files
|
Thu, 30 Aug 2012 13:04:30 +0100 |
Mario de Sousa |
Allow the use of PRId64, PRIu64 and PRIx64 printf formating macros globally.
|
changeset |
files
|
Wed, 29 Aug 2012 21:52:33 +0100 |
Mario de Sousa |
Merge.
|
changeset |
files
|
Wed, 29 Aug 2012 19:38:15 +0100 |
Mario de Sousa |
Fix constant folding: now handles INT_MIN and neg_integer_c correctly.
|
changeset |
files
|
Tue, 28 Aug 2012 22:37:26 +0200 |
Manuele Conti |
Replace test bison version without bash regular expression.
|
changeset |
files
|
Thu, 16 Aug 2012 22:44:38 +0200 |
Manuele Conti |
Fix Segmentation Fault FB var declaration in a single list.
|
changeset |
files
|
Mon, 27 Aug 2012 17:58:07 +0100 |
Mario de Sousa |
Add some comments.
|
changeset |
files
|
Thu, 25 Oct 2012 11:09:06 +0200 |
Edouard Tisserant |
Fix some warning about loss of precision data in iec_std_lib.h file.
|
changeset |
files
|
Tue, 23 Oct 2012 11:32:49 +0200 |
Laurent Bessard |
Fix bug with NE function for STRING variables
|
changeset |
files
|
Mon, 22 Oct 2012 23:08:54 +0200 |
Laurent Bessard |
Fix bug in code for pragma with double brackets
|
changeset |
files
|
Mon, 22 Oct 2012 17:44:40 +0200 |
Laurent Bessard |
Merged
|
changeset |
files
|
Sun, 21 Oct 2012 16:55:08 +0200 |
Laurent Bessard |
Adding support for direct array declaration in structure element declaration
|
changeset |
files
|
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.
|
changeset |
files
|
Thu, 13 Sep 2012 16:35:10 +0200 |
Laurent Bessard |
Fix bug with task interval using fixed_point value for duration items
|
changeset |
files
|
Thu, 13 Sep 2012 15:14:55 +0200 |
Laurent Bessard |
Adding error message when task interval value is not supported
|
changeset |
files
|
Thu, 13 Sep 2012 09:55:00 +0200 |
Laurent Bessard |
Adding error message when task interval value is not supported
|
changeset |
files
|
Wed, 12 Sep 2012 01:14:38 +0200 |
Laurent Bessard |
Fix bug SFC action index declarations were different in POUS.c and VARIABLES.csv when boolean variables are used as action name in step action association
|
changeset |
files
|
Tue, 11 Sep 2012 16:27:33 +0200 |
Laurent Bessard |
Fix generated code when using boolean variable as action name in step action association
|
changeset |
files
|
Tue, 11 Sep 2012 01:05:24 +0200 |
Laurent Bessard |
Fix bug in SFC generated code. Action state was declared in the list of variables to debug, but wasn't stored using structure with flags. This error had side effects that makes Beremiz debug crash.
|
changeset |
files
|
Tue, 04 Sep 2012 18:02:06 +0200 |
Laurent Bessard |
Adding support for P0 and P1 qualifiers and fixing code generated for SL qualifier
|
changeset |
files
|
Sat, 01 Sep 2012 16:27:24 +0200 |
Edouard Tisserant |
Fixed VARIABLES.csv, was broken when using enumrated types
|
changeset |
files
|
Wed, 22 Aug 2012 16:46:17 +0200 |
Laurent Bessard |
Merge with c2546c6e0cfa5ad55b288895f17f1b9f2a228f3b
|
changeset |
files
|
Fri, 17 Aug 2012 19:03:13 +0100 |
Mario de Sousa |
Moving function to correct location (formating only).
|
changeset |
files
|
Sat, 04 Aug 2012 09:59:52 +0200 |
Manuele Conti |
Fix bug in code generation for FB IN_OUT structured parameter.
|
changeset |
files
|
Mon, 30 Jul 2012 22:59:00 +0200 |
Manuele Conti |
Add check bison version in configure.ac file.
|
changeset |
files
|
Thu, 16 Aug 2012 18:28:23 +0100 |
Mario de Sousa |
Remove remaining signed/unsigned comparison error messages when compiling.
|
changeset |
files
|
Fri, 20 Jul 2012 23:18:32 +0200 |
Manuele Conti |
Remove warning about comparisons between int and unsigned int.
|
changeset |
files
|
Wed, 01 Aug 2012 10:31:14 +0100 |
Mario de Sousa |
Support for data types of STEP.T and STEP.X in SFCs
|
changeset |
files
|
Wed, 01 Aug 2012 09:05:25 +0100 |
Mario de Sousa |
Remove dead code.
|
changeset |
files
|
Wed, 01 Aug 2012 08:33:58 +0100 |
Mario de Sousa |
Change code formatting (alignment)
|
changeset |
files
|
Tue, 31 Jul 2012 12:39:04 +0100 |
Mario de Sousa |
Aloow use of SFC STEPs as variables.
|
changeset |
files
|
Sat, 28 Jul 2012 09:07:55 +0100 |
Mario de Sousa |
Check lvalues in expressions passed to Function/FB IN parameters.
|
changeset |
files
|
Fri, 20 Jul 2012 15:57:02 +0100 |
Mario de Sousa |
Fix comment (bug found by Manuele).
|
changeset |
files
|
Fri, 20 Jul 2012 15:53:58 +0100 |
Mario de Sousa |
Remove warning about redefining "__STDC_LIMIT_MACROS" (bug found by Manuele).
|
changeset |
files
|
Fri, 20 Jul 2012 15:50:49 +0100 |
Mario de Sousa |
Constant folding for IL.
|
changeset |
files
|
Thu, 19 Jul 2012 13:42:05 +0100 |
Mario de Sousa |
update comments.
|
changeset |
files
|
Thu, 19 Jul 2012 11:05:41 +0100 |
Mario de Sousa |
fix bug: remove REAL from candidate datatypes when real constant has overflowed.
|
changeset |
files
|
Wed, 18 Jul 2012 23:44:42 +0100 |
Mario de Sousa |
signed integer limits do not affect ANY_INT constant values.
|
changeset |
files
|
Wed, 18 Jul 2012 23:43:57 +0100 |
Mario de Sousa |
comment out un-used code.
|
changeset |
files
|
Wed, 18 Jul 2012 22:34:51 +0100 |
Mario de Sousa |
cleaning up code. Changing HUGE_VAL to INFINITY.
|
changeset |
files
|
Wed, 18 Jul 2012 17:10:57 +0100 |
Mario de Sousa |
Cleaning up the code.
|
changeset |
files
|
Wed, 18 Jul 2012 17:04:34 +0100 |
Mario de Sousa |
Clean up the code a little.
|
changeset |
files
|
Wed, 18 Jul 2012 16:56:36 +0100 |
Mario de Sousa |
Fixing includes to define INTxx_MAX etc...
|
changeset |
files
|
Sat, 14 Jul 2012 11:09:26 +0200 |
Manuele Conti |
Add remove_from_candidate_datatype_list method using constant_folding results.
|
changeset |
files
|
Tue, 19 Jun 2012 18:55:43 +0100 |
Mario de Sousa |
fix typo.
|
changeset |
files
|
Tue, 19 Jun 2012 11:23:30 +0100 |
Mario de Sousa |
fix parsing of non base 10 constant values.
|
changeset |
files
|
Mon, 18 Jun 2012 16:11:00 +0100 |
Mario de Sousa |
determine const value of hex, octal and bin literals correctly.
|
changeset |
files
|
Mon, 18 Jun 2012 15:52:09 +0100 |
Mario de Sousa |
fix array bounds check.
|
changeset |
files
|
Mon, 18 Jun 2012 15:37:37 +0100 |
Mario de Sousa |
Fix stupid typos (in calculating array dimension)!
|
changeset |
files
|
Sat, 16 Jun 2012 07:41:30 +0100 |
Mario de Sousa |
Add file missing from previous commit.
|
changeset |
files
|
Fri, 15 Jun 2012 19:54:33 +0100 |
Mario de Sousa |
Add ERROR_MSG macro && move extract_XXX() functions to constant_folding.cc
|
changeset |
files
|
Thu, 14 Jun 2012 17:50:37 +0100 |
Mario de Sousa |
Add independent extract_integer() function (preparing to remove extract_XXX() from absyntax_utils.cc)
|
changeset |
files
|
Thu, 14 Jun 2012 12:00:19 +0100 |
Mario de Sousa |
Clean up code (remove parsing of integers in stage 4).
|
changeset |
files
|
Wed, 13 Jun 2012 19:51:26 +0200 |
Manuele Conti |
Fix literal MACRO gcc compliant.
|
changeset |
files
|
Wed, 13 Jun 2012 19:43:12 +0100 |
Mario de Sousa |
Add 'dimension' parameter to subrange_c, fill it correctly, and use it.
|
changeset |
files
|
Wed, 13 Jun 2012 14:21:30 +0100 |
Mario de Sousa |
extract_int64() must not handle negation operation (was doing it incorrectly for INT64_MIN!)
|
changeset |
files
|
Wed, 13 Jun 2012 14:07:41 +0100 |
Mario de Sousa |
Add support for -INT64_MIN values in literals.
|
changeset |
files
|
Wed, 13 Jun 2012 13:50:46 +0100 |
Mario de Sousa |
Make compiler portable (do not assume int64_t is long long int)
|
changeset |
files
|
Tue, 12 Jun 2012 22:46:51 +0200 |
Manuele Conti |
Add missing set overflow flag.
|
changeset |
files
|
Tue, 12 Jun 2012 22:32:09 +0200 |
Manuele Conti |
Fix extract_integer_value.
|
changeset |
files
|
Tue, 12 Jun 2012 17:15:24 +0100 |
Mario de Sousa |
Fix typo (thanks Manuele)
|
changeset |
files
|
Tue, 12 Jun 2012 17:12:09 +0100 |
Mario de Sousa |
Remove potential access to NULL pointer.
|
changeset |
files
|
Tue, 12 Jun 2012 17:07:40 +0100 |
Mario de Sousa |
fix error message.
|
changeset |
files
|
Tue, 12 Jun 2012 17:00:00 +0100 |
Mario de Sousa |
Fix array index bound check to consider uint64 indexes/limits.
|
changeset |
files
|
Tue, 12 Jun 2012 09:45:31 +0200 |
Manuele conti |
Fix structure initialize.
|
changeset |
files
|
Mon, 11 Jun 2012 22:38:36 +0200 |
Manuele Conti |
Add check array out of bound.
|
changeset |
files
|
Mon, 11 Jun 2012 18:48:58 +0100 |
Mario de Sousa |
Code for debugging const_value annotations in abstract syntax tree.
|
changeset |
files
|
Mon, 11 Jun 2012 15:58:44 +0100 |
Mario de Sousa |
Fix 'overflow' detection for real64.
|
changeset |
files
|
Sun, 10 Jun 2012 21:51:16 +0100 |
Mario de Sousa |
small bug fix.
|
changeset |
files
|
Sun, 10 Jun 2012 21:28:21 +0200 |
Manuele Conti |
Fix compare expression in constat folding class.
|
changeset |
files
|
Sun, 10 Jun 2012 21:47:15 +0100 |
Mario de Sousa |
Fix extract_real (thanks Manuele), and add check for overflow.
|
changeset |
files
|
Sun, 10 Jun 2012 15:54:10 +0100 |
Mario de Sousa |
cleaning up the code...
|
changeset |
files
|
Sun, 10 Jun 2012 15:38:24 +0100 |
Mario de Sousa |
Fix remaining overflow checks.
|
changeset |
files
|
Sat, 09 Jun 2012 22:58:43 +0100 |
Mario de Sousa |
remove incorrect include file.
|
changeset |
files
|
Sat, 09 Jun 2012 22:55:29 +0100 |
Mario de Sousa |
Correctly implement MOD operation and overflow checks (still missing uint * / MOD).
|
changeset |
files
|
Sat, 09 Jun 2012 08:35:46 +0100 |
Mario de Sousa |
Re-insert errno=0 before calling strtoXX() (thanks go to Manuele)
|
changeset |
files
|
Fri, 08 Jun 2012 19:47:45 +0100 |
Mario de Sousa |
cosmetic changes.
|
changeset |
files
|
Fri, 08 Jun 2012 19:44:32 +0100 |
Mario de Sousa |
Add data structure for storing overflow of constant values.
|
changeset |
files
|
Wed, 06 Jun 2012 16:39:54 +0100 |
Mario de Sousa |
make the compiler platform independent (i.e. no longer assume sizeof(double)==8).
|
changeset |
files
|
Wed, 06 Jun 2012 13:28:50 +0100 |
Mario de Sousa |
create extract_real_value() in absyntax_utils. NOTE: overflows not yet handled!
|
changeset |
files
|