2012-05-15 |
mjsousa |
Located variables may have other data types besides ANY_BIT.
|
changeset |
files
|
2012-05-13 |
Manuele Conti |
Add verify_is_lvalue to control_variable in for_statement.
|
changeset |
files
|
2012-05-10 |
mjsousa |
Remove useless code, and replace with assertion.
|
changeset |
files
|
2012-05-10 |
mjsousa |
Fix bug: initialise un-initialised variable.
|
changeset |
files
|
2012-05-10 |
mjsousa |
Delete incorrect comment.
|
changeset |
files
|
2012-05-10 |
mjsousa |
Add some comments...
|
changeset |
files
|
2012-05-10 |
mjsousa |
Add high level comments.
|
changeset |
files
|
2012-05-10 |
mjsousa |
Fix comment.
|
changeset |
files
|
2012-05-09 |
mjsousa |
Fix the previous commit: check for errors in expressions used as subscripts.
|
changeset |
files
|
2012-05-09 |
Manuele Conti |
Fix data type check array subscript field.
|
changeset |
files
|
2012-05-09 |
mjsousa |
Merge changes.
|
changeset |
files
|
2012-05-09 |
mjsousa |
Fix parsing os TIME literals & rename the extract_integer() function.
|
changeset |
files
|
2012-05-09 |
mjsousa |
Fix generation of output for iec2iec.
|
changeset |
files
|
2012-05-09 |
mjsousa |
Do not compile deleted files...
|
changeset |
files
|
2012-05-09 |
mjsousa |
Do not compile deleted files...
|
changeset |
files
|
2012-05-09 |
mjsousa |
ReDelete files - used in old method of supporting standard functions.
|
changeset |
files
|
2012-05-09 |
mjsousa |
Remove file (used for old method of supporting standard functions).
|
changeset |
files
|
2012-04-27 |
Mario de Sousa |
Add TODO list!
|
changeset |
files
|
2012-04-26 |
Mario de Sousa |
Delete unecessary variable.
|
changeset |
files
|
2012-05-03 |
Conti Manuele |
Fix __dt_to_timespec primitive function.
|
changeset |
files
|
2012-05-02 |
Conti Manuele |
Fix __dt_to_string primitive function.
|
changeset |
files
|
2012-04-24 |
Conti Manuele |
Fix code generation about __INIT_GLOBAL_LOCATED.
|
changeset |
files
|
2012-04-25 |
Mario de Sousa |
Change constants into enums.
|
changeset |
files
|
2012-04-25 |
Mario de Sousa |
Add lvalue checking for IL function and FB invocations.
|
changeset |
files
|
2012-04-25 |
Mario de Sousa |
Fix comment.
|
changeset |
files
|
2012-04-25 |
Mario de Sousa |
Add clarifying comment.
|
changeset |
files
|
2012-04-25 |
Mario de Sousa |
Remove access to NULL pointer.
|
changeset |
files
|
2012-04-25 |
Mario de Sousa |
Make temporary fix to is_complex() method.
|
changeset |
files
|
2012-04-24 |
Mario de Sousa |
Fix comment. (thanks go to Manuele for pointing it put).
|
changeset |
files
|
2012-04-23 |
Mario de Sousa |
Stop lvalue checks after finding an error in the expression.
|
changeset |
files
|
2012-04-23 |
Mario de Sousa |
Remove erroneous check for S1 and R1, and add missing declrataion.
|
changeset |
files
|
2012-04-21 |
Manuele Conti |
Start implement lvalue check in IL instruction.
|
changeset |
files
|
2012-04-21 |
Manuele Conti |
Add lvalue check on fb invocation.
|
changeset |
files
|
2012-04-19 |
Mario de Sousa |
Literals are also part of expressions!
|
changeset |
files
|
2012-04-18 |
Conti Manuele |
Implement check_assignment_to_expression in lvalue_check_c class.
|
changeset |
files
|
2012-04-18 |
Mario de Sousa |
Remove potential access to NULL pointer.
|
changeset |
files
|
2012-04-18 |
Mario de Sousa |
Start having nicer stage 4 error messages.
|
changeset |
files
|
2012-04-17 |
Conti Manuele |
Improve usability command line under windows.
|
changeset |
files
|
2012-04-17 |
Mario de Sousa |
Ignore trailing EOLs when determining symbol location.
|
changeset |
files
|
2012-04-17 |
Mario de Sousa |
Add comment.
|
changeset |
files
|
2012-04-17 |
Conti Manuele |
Fix Segmentation fault in check_assignment_to_output lvalue method.
|
changeset |
files
|
2012-04-17 |
Mario de Sousa |
Remove deprecated status for ANYTIME operations.
|
changeset |
files
|
2012-04-17 |
Mario de Sousa |
Produce similar error messages in stage2 and stage3.
|
changeset |
files
|
2012-04-16 |
Mario de Sousa |
Fix bug when handling code with data type errors.
|
changeset |
files
|
2012-04-16 |
Mario de Sousa |
Fix printing of data type errors in while and repeat statements.
|
changeset |
files
|
2012-04-16 |
Mario de Sousa |
Add lvalue check for non formal function invocations.
|
changeset |
files
|
2012-04-16 |
Mario de Sousa |
Fixing check for assingment to FOR control variables.
|
changeset |
files
|
2012-04-16 |
Mario de Sousa |
Moving get_var_name_c into its own file.
|
changeset |
files
|
2012-04-16 |
Mario de Sousa |
Fixing check for assignment to output variables.
|
changeset |
files
|
2012-04-15 |
Mario de Sousa |
Fixing some bugs in lvalue checking (other bugs remain - to be fixed later)
|
changeset |
files
|
2012-04-14 |
Manuele Conti |
Add lvalue check class.
|
changeset |
files
|
2012-04-14 |
manuele conti |
Determine the modifiers (CONST, REATAIN) used when declaring a variable.
|
changeset |
files
|
2012-04-14 |
Mario de Sousa |
Fix typo in comparison expression.
|
changeset |
files
|
2012-04-14 |
Mario de Sousa |
Removing code from search_varfb_instance_type_c (use search_var_instance_decl_c instead).
|
changeset |
files
|
2012-04-14 |
Mario de Sousa |
Fix bug by expanding permissible data input of search_var_instance_decl_c
|
changeset |
files
|
2012-04-13 |
Mario de Sousa |
Edit formating and delete unused code.
|
changeset |
files
|
2012-04-07 |
Mario de Sousa |
Start data type checking of var declarations (including direct variables!)
|
changeset |
files
|
2012-04-03 |
Mario de Sousa |
Delete incorrect comments I had inserted previously (confusing EQ and NE functions)
|
changeset |
files
|
2012-03-31 |
Mario de Sousa |
merging with Lauren't changeset.
|
changeset |
files
|
2012-03-31 |
Mario de Sousa |
merge with Laurent's changeset (essentially ignore all changes).
|
changeset |
files
|
2012-03-31 |
Mario de Sousa |
merge with Laurent's changeset (essentially, ignore all changes).
|
changeset |
files
|
2012-03-31 |
Mario de Sousa |
merging with Laurent's changes.
|
changeset |
files
|
2012-03-31 |
Mario de Sousa |
merging with Laurent's change.
|
changeset |
files
|
2012-03-31 |
Mario de Sousa |
merging with Laurent's revision 55b074ea7255 (essentially ignoring all changes)
|
changeset |
files
|
2012-03-29 |
Mario de Sousa |
Add coment warning about incorrect implementation of the NE standard function.
|
changeset |
files
|
2012-03-29 |
Mario de Sousa |
merging with Laurent's patch.
|
changeset |
files
|
2012-03-29 |
Mario de Sousa |
Print correct error message when handling IL function calls.
|
changeset |
files
|
2012-03-15 |
Mario de Sousa |
Edit error message.
|
changeset |
files
|
2012-03-15 |
Mario de Sousa |
Add EXPT widen table.
|
changeset |
files
|
2012-03-15 |
Mario de Sousa |
Some stupid code cleanups.
|
changeset |
files
|
2012-03-15 |
Mario de Sousa |
Some code cleanups.
|
changeset |
files
|
2012-03-14 |
Mario de Sousa |
Clean up the code.
|
changeset |
files
|
2012-03-14 |
Mario de Sousa |
Fix error messages of il function calls - it now prints out location info of first parameter.
|
changeset |
files
|
2012-03-14 |
Mario de Sousa |
Clean code for printing errors in expressions.
|
changeset |
files
|
2012-03-14 |
Mario de Sousa |
Clean code for comparison operations & operators.
|
changeset |
files
|
2012-03-14 |
Mario de Sousa |
Cleaning up XORN, ANDN, and ORN operator code.
|
changeset |
files
|
2012-03-14 |
Mario de Sousa |
Cleaning up some code.
|
changeset |
files
|
2012-03-14 |
Mario de Sousa |
Add 'widen' tables for AND, OR and XOR operations.
|
changeset |
files
|
2012-03-13 |
Mario de Sousa |
Add MOD widening table, and some code clean-ups.
|
changeset |
files
|
2012-03-13 |
Mario de Sousa |
Re-organizing the code.
|
changeset |
files
|
2012-03-13 |
Mario de Sousa |
Change setting of deprecated_operation from fill to narrow_candidate_datatypes_c.
|
changeset |
files
|
2012-03-13 |
Mario de Sousa |
Clarify some details in the comments.
|
changeset |
files
|
2012-03-11 |
Manuele Conti |
Add check widening status for IL operator.
|
changeset |
files
|
2012-03-11 |
Mario de Sousa |
Fix remaining 'widen' tables.
|
changeset |
files
|
2012-03-11 |
Mario de Sousa |
Fix some 'widen' table entries.
|
changeset |
files
|
2012-03-10 |
Mario de Sousa |
Add a TODO comment.
|
changeset |
files
|
2012-03-10 |
Mario de Sousa |
Clean up code, and add support for 'safe' version of literals.
|
changeset |
files
|
2012-03-10 |
Mario de Sousa |
Bringing comment up to date.
|
changeset |
files
|
2012-03-09 |
Mario de Sousa |
Semantic verification of NOT operator.
|
changeset |
files
|
2012-03-09 |
Mario de Sousa |
Fix bug in building structured variables.
|
changeset |
files
|
2012-03-09 |
Mario de Sousa |
Delete unecessary copy_candidate_datatype_list() function.
|
changeset |
files
|
2012-03-08 |
Mario de Sousa |
Delete no longer needed copy_candidate_datatype_list() function.
|
changeset |
files
|
2012-03-08 |
Mario de Sousa |
Narrow IL lists twice, in order to handle JMP to labels before the JMP itself.
|
changeset |
files
|
2012-03-08 |
Mario de Sousa |
Do not allow duplicate values in candidate datatype list.
|
changeset |
files
|
2012-03-03 |
Mario de Sousa |
Handle JMP to labels preceding the JMP instruction itself.
|
changeset |
files
|
2012-03-03 |
Mario de Sousa |
Correctly handle JMP and RET IL operators in flow control analysis.
|
changeset |
files
|
2012-03-03 |
Mario de Sousa |
Fix filling candidate datatypes of JMP operations
|
changeset |
files
|
2012-03-03 |
Mario de Sousa |
Remove spurious printf()s, used during debugging session.
|
changeset |
files
|
2012-03-02 |
Mario de Sousa |
Add missing files.
|
changeset |
files
|
2012-03-02 |
Mario de Sousa |
Continue adding support for semantic verification of JMP and RET.
|
changeset |
files
|
2012-03-01 |
Conti Manuele |
iAdd warning for deprecated operations.
|
changeset |
files
|
2012-02-27 |
Mario de Sousa |
Change prev_il_instruction to a vector<>
|
changeset |
files
|
2012-02-27 |
Mario de Sousa |
Some small cleanups.
|
changeset |
files
|
2012-02-25 |
Mario de Sousa |
Add support for semantic verification of CALC, CALCN, etc..
|
changeset |
files
|
2012-02-23 |
Mario de Sousa |
Finish support for semantic verification of IL paranthesised expressions.
|
changeset |
files
|
2012-02-21 |
Mario de Sousa |
More changes for support of semantic verification of il_expressions
|
changeset |
files
|
2012-02-20 |
Mario de Sousa |
Start of support for IL expressions (parenthesis).
|
changeset |
files
|
2012-02-20 |
Mario de Sousa |
Cleaning up the code.
|
changeset |
files
|
2012-02-20 |
Mario de Sousa |
Fix a few more bugs related to FB/function calls in IL.
|
changeset |
files
|
2012-02-19 |
Mario de Sousa |
Semantic verification: Add compatibility check for parameter direction in function invocation.
|
changeset |
files
|
2012-02-18 |
Mario de Sousa |
Add support for semantic verification for implict FB calls in IL (e.g. PV ton_var)
|
changeset |
files
|
2012-02-17 |
Mario de Sousa |
Start of support for semantic verification of FB calls in IL using special IL instructions.
|
changeset |
files
|
2012-02-17 |
Mario de Sousa |
Delete some comments.
|
changeset |
files
|
2012-02-16 |
Conti Manuele |
Change name help function.
|
changeset |
files
|
2012-02-16 |
Mario de Sousa |
Update comments on general architecture.
|
changeset |
files
|
2012-02-16 |
Mario de Sousa |
Narrow IL code backwords, so as to correctly handle invocations to overloaded functions from IL code.
|
changeset |
files
|
2012-02-13 |
Mario de Sousa |
Code cleanup.
|
changeset |
files
|
2012-02-13 |
Mario de Sousa |
Add printing of semantic errors when calling FB from IL.
|
changeset |
files
|
2012-02-12 |
Manuele Conti |
Fix typo error in some il visit in fill_candidate_datatypes_c class.
|
changeset |
files
|
2012-02-13 |
Mario de Sousa |
Add semantic verification of FB calls in IL (not yet complete - missing printing of errors!)
|
changeset |
files
|
2012-02-10 |
Mario de Sousa |
Add support for semantic verification of function calls in IL.
|
changeset |
files
|
2012-02-08 |
Mario de Sousa |
Add TODO comment, and delete unused debugging code.
|
changeset |
files
|
2012-02-08 |
Mario de Sousa |
Delete un-used code.
|
changeset |
files
|
2012-02-08 |
Mario de Sousa |
Change negation expression (neg_expression_c) to only allow signed data types.
|
changeset |
files
|
2012-02-07 |
Mario de Sousa |
Move elementary_c::to_string() to datatype_functions.cc/hh
|
changeset |
files
|
2012-02-07 |
Mario de Sousa |
Add, to types symbol table, string datatypes with limited length (my_string_type: STRING[33]) (Thanks Andreas!)
|
changeset |
files
|
2012-02-07 |
Mario de Sousa |
Correctly return the initial value of a string datatype, with limited length (STRING[33] := 'hello')
|
changeset |
files
|
2012-02-07 |
Mario de Sousa |
More detailed error messages for FB invocations in ST.
|
changeset |
files
|
2012-02-06 |
Mario de Sousa |
More detailed error messages in function invocations in ST.
|
changeset |
files
|
2012-02-06 |
Mario de Sousa |
Fix bug in analysing real literals (thanks Andreas!)
|
changeset |
files
|
2012-02-06 |
Mario de Sousa |
Remove debugging messages, and code cleanup.
|
changeset |
files
|
2012-02-06 |
Mario de Sousa |
Better error reporting in function invocations, and in invalid literal values.
|
changeset |
files
|
2012-02-05 |
Mario de Sousa |
Better identification of erros in function/FB invocations.
|
changeset |
files
|
2012-02-03 |
Mario de Sousa |
Print error messages when datatype erros found in ST function/FB calls.
|
changeset |
files
|
2012-02-03 |
Mario de Sousa |
Continue checking data type compatibility inside expressions used to pass paramters to invalid function/FB calls
|
changeset |
files
|
2012-02-03 |
Mario de Sousa |
Adding support for semantic verification of FB calls in ST.
|
changeset |
files
|
2012-02-02 |
Mario de Sousa |
Delete wrong comment.
|
changeset |
files
|
2012-02-02 |
Mario de Sousa |
Add support in stage 3 for checking function invocations in ST.
|
changeset |
files
|
2012-02-02 |
Mario de Sousa |
Fix search_varfb_instance_decl to be able to find variables and FB when only given an identifier.
|
changeset |
files
|
2012-02-02 |
Mario de Sousa |
Changing code indenting.
|
changeset |
files
|
2012-02-01 |
Manuele Conti |
Add fill candidate method for fb_invocation_c symbol.
|
changeset |
files
|
2012-02-01 |
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.
|
changeset |
files
|
2012-02-01 |
Mario de Sousa |
Merging with Laurent's repository.
|
changeset |
files
|
2011-09-26 |
Manuele Conti |
Fix YYLTYPE declaration.
|
changeset |
files
|
2011-11-20 |
Mario de Sousa |
Merging with Laurent's repository.
|
changeset |
files
|
2011-11-04 |
Mario de Sousa |
Add list of things we must check for in stage 3 (TODO list!)
|
changeset |
files
|
2012-08-14 |
Laurent Bessard |
Fix bug with InOut variable of structured type
|
changeset |
files
|
2012-07-28 |
Laurent Bessard |
Fix bug while using complex type variables in Function and FunctionBlock interface
|
changeset |
files
|
2012-07-27 |
Laurent Bessard |
Fix bug while using complex type variables in Function and FunctionBlock interface
|
changeset |
files
|
2012-07-27 |
Laurent Bessard |
Fix bug with complex type inout variables while generating variable list
|
changeset |
files
|
2012-03-21 |
laurent |
Fixing bug in inlinefcall when a transition is in ST and contains literals
|
changeset |
files
|
2012-02-24 |
laurent |
Fix bug in code generated for MUL function
|
changeset |
files
|
2012-02-24 |
laurent |
Fix bug with overloaded function due to literal input values
|
changeset |
files
|
2012-02-21 |
laurent |
Fix bug wrong code generated when, in a pou, a located variable has the same name than a function block instance input variable
|
changeset |
files
|
2012-02-21 |
laurent |
Fix bug pointed structure not declared for directly derived datatypes
|
changeset |
files
|
2012-02-16 |
Edouard Tisserant |
removed forgotten prototype in __INIT_EXTERNAL accessor, causing warning ant build time
|
changeset |
files
|
2012-02-07 |
laurent |
Merge with Edouard's modifications
|
changeset |
files
|
2012-02-07 |
laurent |
Fix STEP and ACTION structure initialization value in SFC
|
changeset |
files
|
2012-02-03 |
Edouard Tisserant |
Applied anonymous contribution RTC, '[Beremiz-devel] RTC function', 29/06/11
|
changeset |
files
|
2012-02-02 |
laurent |
Fix bug with functions like LEN and TRUNC that have overloaded return type for same inputs type
|
changeset |
files
|
2012-02-01 |
laurent |
Fix issues in standard library with MUX, MOD, NE and convertions to BOOL
|
changeset |
files
|
2012-01-25 |
laurent |
Adding Common_Ticktime to informations printed in VARIABLES.csv file
|
changeset |
files
|
2011-12-30 |
laurent |
Fixing bug with external variables refering to global variables defined in configurations
|
changeset |
files
|
2011-12-23 |
Edouard Tisserant |
removed useless extern func declaration in __INIT_EXTERNAL, producing warning during build of POUS.c
|
changeset |
files
|
2011-12-09 |
laurent |
Fixing bug in generated code for complex type external variable
|
changeset |
files
|
2011-12-09 |
laurent |
Fixing SUB standard function defined in standard library
|
changeset |
files
|
2011-11-18 |
laurent |
Fixing generated code for global variables. Adding support for defining global variables with complex type
|
changeset |
files
|
2011-11-18 |
laurent |
Fixing bug in all SUB function definitions in standard_functions.txt
|
changeset |
files
|
2011-11-18 |
laurent |
Fix bug when using enumerated type in equ_expression or notequ_expression
|
changeset |
files
|
2011-11-16 |
Edouard Tisserant |
silenced warning on X86_64 build by casying numerical operand of snprintf
|
changeset |
files
|
2011-11-04 |
laurent |
Fix bug in generate_c_inlinefcall. Was not handling textual SFC elements
|
changeset |
files
|
2011-10-29 |
Mario de Sousa |
Fix code generation of FOR loops. Now handles negative values of BY correctly.
|
changeset |
files
|
2011-10-29 |
Mario de Sousa |
Fix semantic verification of enumerated data types.
|
changeset |
files
|
2011-10-28 |
Mario de Sousa |
Adding a line to a comment. Does not change any code.
|
changeset |
files
|
2011-10-19 |
Edouard Tisserant |
fixed signedness warning on string slicing funcs in std lib
|
changeset |
files
|
2011-10-12 |
laurent |
Fix bug generate_c_inlinefcall in inline function name generated
|
changeset |
files
|
2011-10-11 |
laurent |
Fix bug in parser while trying to use IL operator like S1, R1, etc... as standard function block interface variable in structured_variable syntax and bug in code generator while generating code for assignment of function block interface variable using structured_variable syntax
|
changeset |
files
|
2011-10-09 |
laurent |
Fix bug in code generation of directly declared array variables that generate wrong code when using located variables in a program POU
|
changeset |
files
|
2011-10-09 |
laurent |
Fix bug in generate_c_inlinefcall.cc that prevent to use extendible standard functions
|
changeset |
files
|
2011-10-09 |
laurent |
Fix bug in definition of CONCAT standard function in iec_std_lib.h
|
changeset |
files
|
2011-09-28 |
Edouard Tisserant |
moved declaration __STR_CMP to prevent warning
|
changeset |
files
|
2011-09-14 |
laurent |
Adding support for compiling direct array specification inside variable declaration
|
changeset |
files
|
2011-09-09 |
laurent |
Making case statement code generated safer
|
changeset |
files
|
2011-09-08 |
laurent |
Merge with 01068ccb73b202b2872d4117ad01984bac956cbb
|
changeset |
files
|
2011-09-01 |
Manuele Conti |
Fix make on system without mercurial installed.
|
changeset |
files
|
2011-08-31 |
Mario de Sousa |
delete code no longer needed.
|
changeset |
files
|
2011-08-31 |
Mario de Sousa |
Implement get_type_decl(), as it seems Manuele will need it later...
|
changeset |
files
|
2011-08-31 |
Mario de Sousa |
Cleaning up: Getting some sense into the code handling structures.
|
changeset |
files
|
2011-08-25 |
Matteo Facchinetti |
Add automatic HG changeset id information in "-v" param
|
changeset |
files
|
2011-08-25 |
Matteo Facchinetti |
Add iec2iec building in the project Makefiles.
|
changeset |
files
|
2011-08-26 |
Mario de Sousa |
Update which files to ignore due to new autotools building environment.
|
changeset |
files
|
2011-08-26 |
Mario de Sousa |
Add checks for undefined structure elements used IEC 61131-3 source code being compiled.
|
changeset |
files
|