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
|
Wed, 06 Jun 2012 00:20:06 +0200 |
Manuele Conti |
Update constant folding: fixing minor bug.
|
changeset |
files
|
Wed, 06 Jun 2012 12:39:32 +0100 |
Mario de Sousa |
Fix a few bugs of previous commit.
|
changeset |
files
|
Tue, 05 Jun 2012 19:17:29 +0200 |
Manuele Conti |
Start constant_folding class.
|
changeset |
files
|
Tue, 05 Jun 2012 11:10:12 +0200 |
Andreas Graeper |
little typo in last commited code
|
changeset |
files
|
Mon, 04 Jun 2012 18:22:11 +0100 |
Mario de Sousa |
Change return data type of array_dimension_iterator_c.next()
|
changeset |
files
|
Wed, 16 May 2012 00:15:32 +0200 |
Manuele Conti |
Fix SFC stage4 error.
|
changeset |
files
|
Tue, 15 May 2012 23:03:25 +0100 |
mjsousa |
Renamed class, remove unused code, delete allocated objects.
|
changeset |
files
|
Tue, 15 May 2012 18:59:32 +0200 |
Manuele Conti |
Start sematinc range check class.
|
changeset |
files
|
Tue, 15 May 2012 15:50:43 +0100 |
mjsousa |
Located variables may have other data types besides ANY_BIT.
|
changeset |
files
|
Sun, 13 May 2012 17:57:15 +0200 |
Manuele Conti |
Add verify_is_lvalue to control_variable in for_statement.
|
changeset |
files
|
Thu, 10 May 2012 22:03:59 +0100 |
mjsousa |
Remove useless code, and replace with assertion.
|
changeset |
files
|
Thu, 10 May 2012 19:20:18 +0100 |
mjsousa |
Fix bug: initialise un-initialised variable.
|
changeset |
files
|
Thu, 10 May 2012 19:09:02 +0100 |
mjsousa |
Delete incorrect comment.
|
changeset |
files
|
Thu, 10 May 2012 16:15:27 +0100 |
mjsousa |
Add some comments...
|
changeset |
files
|
Thu, 10 May 2012 16:09:50 +0100 |
mjsousa |
Add high level comments.
|
changeset |
files
|
Thu, 10 May 2012 15:40:19 +0100 |
mjsousa |
Fix comment.
|
changeset |
files
|
Wed, 09 May 2012 23:13:04 +0100 |
mjsousa |
Fix the previous commit: check for errors in expressions used as subscripts.
|
changeset |
files
|
Wed, 09 May 2012 20:05:57 +0200 |
Manuele Conti |
Fix data type check array subscript field.
|
changeset |
files
|
Wed, 09 May 2012 23:04:03 +0100 |
mjsousa |
Merge changes.
|
changeset |
files
|
Wed, 09 May 2012 23:00:10 +0100 |
mjsousa |
Fix parsing os TIME literals & rename the extract_integer() function.
|
changeset |
files
|
Wed, 09 May 2012 22:59:10 +0100 |
mjsousa |
Fix generation of output for iec2iec.
|
changeset |
files
|
Wed, 09 May 2012 22:04:38 +0100 |
mjsousa |
Do not compile deleted files...
|
changeset |
files
|
Wed, 09 May 2012 22:04:07 +0100 |
mjsousa |
Do not compile deleted files...
|
changeset |
files
|
Wed, 09 May 2012 22:03:05 +0100 |
mjsousa |
ReDelete files - used in old method of supporting standard functions.
|
changeset |
files
|
Wed, 09 May 2012 21:46:21 +0100 |
mjsousa |
Remove file (used for old method of supporting standard functions).
|
changeset |
files
|
Fri, 27 Apr 2012 13:40:36 +0100 |
Mario de Sousa |
Add TODO list!
|
changeset |
files
|
Thu, 26 Apr 2012 11:12:19 +0100 |
Mario de Sousa |
Delete unecessary variable.
|
changeset |
files
|
Thu, 03 May 2012 17:43:32 +0200 |
Conti Manuele |
Fix __dt_to_timespec primitive function.
|
changeset |
files
|
Wed, 02 May 2012 14:46:48 +0200 |
Conti Manuele |
Fix __dt_to_string primitive function.
|
changeset |
files
|
Tue, 24 Apr 2012 16:49:43 +0200 |
Conti Manuele |
Fix code generation about __INIT_GLOBAL_LOCATED.
|
changeset |
files
|
Wed, 25 Apr 2012 16:56:25 +0100 |
Mario de Sousa |
Change constants into enums.
|
changeset |
files
|
Wed, 25 Apr 2012 16:45:00 +0100 |
Mario de Sousa |
Add lvalue checking for IL function and FB invocations.
|
changeset |
files
|
Wed, 25 Apr 2012 16:44:23 +0100 |
Mario de Sousa |
Fix comment.
|
changeset |
files
|
Wed, 25 Apr 2012 16:21:14 +0100 |
Mario de Sousa |
Add clarifying comment.
|
changeset |
files
|
Wed, 25 Apr 2012 15:56:45 +0100 |
Mario de Sousa |
Remove access to NULL pointer.
|
changeset |
files
|
Wed, 25 Apr 2012 15:46:53 +0100 |
Mario de Sousa |
Make temporary fix to is_complex() method.
|
changeset |
files
|
Tue, 24 Apr 2012 19:17:53 +0100 |
Mario de Sousa |
Fix comment. (thanks go to Manuele for pointing it put).
|
changeset |
files
|
Mon, 23 Apr 2012 16:50:10 +0100 |
Mario de Sousa |
Stop lvalue checks after finding an error in the expression.
|
changeset |
files
|
Mon, 23 Apr 2012 16:44:05 +0100 |
Mario de Sousa |
Remove erroneous check for S1 and R1, and add missing declrataion.
|
changeset |
files
|
Sat, 21 Apr 2012 17:42:07 +0200 |
Manuele Conti |
Start implement lvalue check in IL instruction.
|
changeset |
files
|
Sat, 21 Apr 2012 17:43:55 +0200 |
Manuele Conti |
Add lvalue check on fb invocation.
|
changeset |
files
|
Thu, 19 Apr 2012 19:49:11 +0100 |
Mario de Sousa |
Literals are also part of expressions!
|
changeset |
files
|
Wed, 18 Apr 2012 14:19:40 +0200 |
Conti Manuele |
Implement check_assignment_to_expression in lvalue_check_c class.
|
changeset |
files
|
Wed, 18 Apr 2012 15:44:00 +0100 |
Mario de Sousa |
Remove potential access to NULL pointer.
|
changeset |
files
|
Wed, 18 Apr 2012 13:29:08 +0100 |
Mario de Sousa |
Start having nicer stage 4 error messages.
|
changeset |
files
|
Tue, 17 Apr 2012 17:41:58 +0200 |
Conti Manuele |
Improve usability command line under windows.
|
changeset |
files
|
Tue, 17 Apr 2012 17:59:02 +0100 |
Mario de Sousa |
Ignore trailing EOLs when determining symbol location.
|
changeset |
files
|
Tue, 17 Apr 2012 14:21:31 +0100 |
Mario de Sousa |
Add comment.
|
changeset |
files
|
Tue, 17 Apr 2012 14:17:07 +0100 |
Conti Manuele |
Fix Segmentation fault in check_assignment_to_output lvalue method.
|
changeset |
files
|
Tue, 17 Apr 2012 10:11:45 +0100 |
Mario de Sousa |
Remove deprecated status for ANYTIME operations.
|
changeset |
files
|
Tue, 17 Apr 2012 09:58:06 +0100 |
Mario de Sousa |
Produce similar error messages in stage2 and stage3.
|
changeset |
files
|
Mon, 16 Apr 2012 20:13:58 +0100 |
Mario de Sousa |
Fix bug when handling code with data type errors.
|
changeset |
files
|
Mon, 16 Apr 2012 15:40:12 +0100 |
Mario de Sousa |
Fix printing of data type errors in while and repeat statements.
|
changeset |
files
|
Mon, 16 Apr 2012 15:27:53 +0100 |
Mario de Sousa |
Add lvalue check for non formal function invocations.
|
changeset |
files
|
Mon, 16 Apr 2012 15:17:24 +0100 |
Mario de Sousa |
Fixing check for assingment to FOR control variables.
|
changeset |
files
|
Mon, 16 Apr 2012 15:10:31 +0100 |
Mario de Sousa |
Moving get_var_name_c into its own file.
|
changeset |
files
|
Mon, 16 Apr 2012 14:41:07 +0100 |
Mario de Sousa |
Fixing check for assignment to output variables.
|
changeset |
files
|
Sun, 15 Apr 2012 19:56:33 +0100 |
Mario de Sousa |
Fixing some bugs in lvalue checking (other bugs remain - to be fixed later)
|
changeset |
files
|
Sat, 14 Apr 2012 20:02:36 +0200 |
Manuele Conti |
Add lvalue check class.
|
changeset |
files
|
Sat, 14 Apr 2012 18:05:50 +0100 |
manuele conti |
Determine the modifiers (CONST, REATAIN) used when declaring a variable.
|
changeset |
files
|
Sat, 14 Apr 2012 16:53:35 +0100 |
Mario de Sousa |
Fix typo in comparison expression.
|
changeset |
files
|
Sat, 14 Apr 2012 16:44:53 +0100 |
Mario de Sousa |
Removing code from search_varfb_instance_type_c (use search_var_instance_decl_c instead).
|
changeset |
files
|
Sat, 14 Apr 2012 15:19:17 +0100 |
Mario de Sousa |
Fix bug by expanding permissible data input of search_var_instance_decl_c
|
changeset |
files
|
Fri, 13 Apr 2012 13:05:44 +0100 |
Mario de Sousa |
Edit formating and delete unused code.
|
changeset |
files
|
Sat, 07 Apr 2012 16:14:17 +0100 |
Mario de Sousa |
Start data type checking of var declarations (including direct variables!)
|
changeset |
files
|
Tue, 03 Apr 2012 12:42:16 +0100 |
Mario de Sousa |
Delete incorrect comments I had inserted previously (confusing EQ and NE functions)
|
changeset |
files
|
Sat, 31 Mar 2012 21:46:37 +0100 |
Mario de Sousa |
merging with Lauren't changeset.
|
changeset |
files
|
Sat, 31 Mar 2012 21:36:17 +0100 |
Mario de Sousa |
merge with Laurent's changeset (essentially ignore all changes).
|
changeset |
files
|
Sat, 31 Mar 2012 21:34:20 +0100 |
Mario de Sousa |
merge with Laurent's changeset (essentially, ignore all changes).
|
changeset |
files
|
Sat, 31 Mar 2012 15:36:08 +0100 |
Mario de Sousa |
merging with Laurent's changes.
|
changeset |
files
|
Sat, 31 Mar 2012 15:34:33 +0100 |
Mario de Sousa |
merging with Laurent's change.
|
changeset |
files
|
Sat, 31 Mar 2012 15:30:38 +0100 |
Mario de Sousa |
merging with Laurent's revision 55b074ea7255 (essentially ignoring all changes)
|
changeset |
files
|
Thu, 29 Mar 2012 19:03:40 +0100 |
Mario de Sousa |
Add coment warning about incorrect implementation of the NE standard function.
|
changeset |
files
|
Thu, 29 Mar 2012 18:57:53 +0100 |
Mario de Sousa |
merging with Laurent's patch.
|
changeset |
files
|
Thu, 29 Mar 2012 15:39:38 +0100 |
Mario de Sousa |
Print correct error message when handling IL function calls.
|
changeset |
files
|
Thu, 15 Mar 2012 13:23:09 +0000 |
Mario de Sousa |
Edit error message.
|
changeset |
files
|
Thu, 15 Mar 2012 13:18:02 +0000 |
Mario de Sousa |
Add EXPT widen table.
|
changeset |
files
|
Thu, 15 Mar 2012 12:50:44 +0000 |
Mario de Sousa |
Some stupid code cleanups.
|
changeset |
files
|
Thu, 15 Mar 2012 12:31:57 +0000 |
Mario de Sousa |
Some code cleanups.
|
changeset |
files
|
Wed, 14 Mar 2012 20:01:50 +0000 |
Mario de Sousa |
Clean up the code.
|
changeset |
files
|
Wed, 14 Mar 2012 19:31:17 +0000 |
Mario de Sousa |
Fix error messages of il function calls - it now prints out location info of first parameter.
|
changeset |
files
|
Wed, 14 Mar 2012 11:31:07 +0000 |
Mario de Sousa |
Clean code for printing errors in expressions.
|
changeset |
files
|
Wed, 14 Mar 2012 11:14:41 +0000 |
Mario de Sousa |
Clean code for comparison operations & operators.
|
changeset |
files
|
Wed, 14 Mar 2012 10:51:49 +0000 |
Mario de Sousa |
Cleaning up XORN, ANDN, and ORN operator code.
|
changeset |
files
|
Wed, 14 Mar 2012 10:44:17 +0000 |
Mario de Sousa |
Cleaning up some code.
|
changeset |
files
|
Wed, 14 Mar 2012 10:26:03 +0000 |
Mario de Sousa |
Add 'widen' tables for AND, OR and XOR operations.
|
changeset |
files
|