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
|
Tue, 13 Mar 2012 19:04:07 +0000 |
Mario de Sousa |
Add MOD widening table, and some code clean-ups.
|
changeset |
files
|
Tue, 13 Mar 2012 18:29:34 +0000 |
Mario de Sousa |
Re-organizing the code.
|
changeset |
files
|
Tue, 13 Mar 2012 16:38:21 +0000 |
Mario de Sousa |
Change setting of deprecated_operation from fill to narrow_candidate_datatypes_c.
|
changeset |
files
|
Tue, 13 Mar 2012 12:39:09 +0000 |
Mario de Sousa |
Clarify some details in the comments.
|
changeset |
files
|
Sun, 11 Mar 2012 22:21:47 +0100 |
Manuele Conti |
Add check widening status for IL operator.
|
changeset |
files
|
Sun, 11 Mar 2012 18:24:39 +0000 |
Mario de Sousa |
Fix remaining 'widen' tables.
|
changeset |
files
|
Sun, 11 Mar 2012 16:38:05 +0000 |
Mario de Sousa |
Fix some 'widen' table entries.
|
changeset |
files
|
Sat, 10 Mar 2012 11:27:49 +0000 |
Mario de Sousa |
Add a TODO comment.
|
changeset |
files
|
Sat, 10 Mar 2012 11:21:41 +0000 |
Mario de Sousa |
Clean up code, and add support for 'safe' version of literals.
|
changeset |
files
|
Sat, 10 Mar 2012 11:21:04 +0000 |
Mario de Sousa |
Bringing comment up to date.
|
changeset |
files
|
Fri, 09 Mar 2012 17:58:19 +0000 |
Mario de Sousa |
Semantic verification of NOT operator.
|
changeset |
files
|
Fri, 09 Mar 2012 10:52:23 +0000 |
Mario de Sousa |
Fix bug in building structured variables.
|
changeset |
files
|
Fri, 09 Mar 2012 10:51:56 +0000 |
Mario de Sousa |
Delete unecessary copy_candidate_datatype_list() function.
|
changeset |
files
|
Thu, 08 Mar 2012 19:14:45 +0000 |
Mario de Sousa |
Delete no longer needed copy_candidate_datatype_list() function.
|
changeset |
files
|
Thu, 08 Mar 2012 18:57:55 +0000 |
Mario de Sousa |
Narrow IL lists twice, in order to handle JMP to labels before the JMP itself.
|
changeset |
files
|
Thu, 08 Mar 2012 18:57:14 +0000 |
Mario de Sousa |
Do not allow duplicate values in candidate datatype list.
|
changeset |
files
|
Sat, 03 Mar 2012 20:42:48 +0000 |
Mario de Sousa |
Handle JMP to labels preceding the JMP instruction itself.
|
changeset |
files
|
Sat, 03 Mar 2012 20:27:20 +0000 |
Mario de Sousa |
Correctly handle JMP and RET IL operators in flow control analysis.
|
changeset |
files
|
Sat, 03 Mar 2012 13:07:00 +0000 |
Mario de Sousa |
Fix filling candidate datatypes of JMP operations
|
changeset |
files
|
Sat, 03 Mar 2012 08:51:28 +0000 |
Mario de Sousa |
Remove spurious printf()s, used during debugging session.
|
changeset |
files
|
Fri, 02 Mar 2012 17:59:20 +0000 |
Mario de Sousa |
Add missing files.
|
changeset |
files
|
Fri, 02 Mar 2012 12:53:41 +0000 |
Mario de Sousa |
Continue adding support for semantic verification of JMP and RET.
|
changeset |
files
|
Thu, 01 Mar 2012 10:28:27 +0000 |
Conti Manuele |
iAdd warning for deprecated operations.
|
changeset |
files
|
Mon, 27 Feb 2012 11:44:03 +0000 |
Mario de Sousa |
Change prev_il_instruction to a vector<>
|
changeset |
files
|
Mon, 27 Feb 2012 11:28:51 +0000 |
Mario de Sousa |
Some small cleanups.
|
changeset |
files
|
Sat, 25 Feb 2012 19:16:35 +0000 |
Mario de Sousa |
Add support for semantic verification of CALC, CALCN, etc..
|
changeset |
files
|
Thu, 23 Feb 2012 13:25:49 +0000 |
Mario de Sousa |
Finish support for semantic verification of IL paranthesised expressions.
|
changeset |
files
|
Tue, 21 Feb 2012 17:39:57 +0000 |
Mario de Sousa |
More changes for support of semantic verification of il_expressions
|
changeset |
files
|
Mon, 20 Feb 2012 19:44:40 +0000 |
Mario de Sousa |
Start of support for IL expressions (parenthesis).
|
changeset |
files
|
Mon, 20 Feb 2012 17:52:01 +0000 |
Mario de Sousa |
Cleaning up the code.
|
changeset |
files
|
Mon, 20 Feb 2012 15:24:26 +0000 |
Mario de Sousa |
Fix a few more bugs related to FB/function calls in IL.
|
changeset |
files
|
Sun, 19 Feb 2012 16:16:45 +0000 |
Mario de Sousa |
Semantic verification: Add compatibility check for parameter direction in function invocation.
|
changeset |
files
|
Sat, 18 Feb 2012 21:03:01 +0000 |
Mario de Sousa |
Add support for semantic verification for implict FB calls in IL (e.g. PV ton_var)
|
changeset |
files
|