2011-07-09Adding some comments, and removing a check for a semantic error in code being compiled.
Mario de Sousa <msousa@fe.up.pt> [Sat, 09 Jul 2011 14:05:53 +0100] rev 338
Adding some comments, and removing a check for a semantic error in code being compiled.

2011-07-12Fix bug with inline function call in POU programmed in IL
laurent [Tue, 12 Jul 2011 22:20:28 +0200] rev 337
Fix bug with inline function call in POU programmed in IL

2011-07-08Fix bug in function calls with literal parameters
laurent [Fri, 08 Jul 2011 11:06:27 +0200] rev 336
Fix bug in function calls with literal parameters

2011-07-07Fix makefiles when not using make as make tool
laurent [Thu, 07 Jul 2011 10:49:08 +0200] rev 335
Fix makefiles when not using make as make tool

2011-07-06Fix bug on initialization of temp variables not using setter
laurent [Wed, 06 Jul 2011 12:19:30 +0200] rev 334
Fix bug on initialization of temp variables not using setter

2011-07-06Fix bug when trying to find the type of a NULL symbol
laurent [Wed, 06 Jul 2011 12:01:46 +0200] rev 333
Fix bug when trying to find the type of a NULL symbol

2011-07-04Fix bug in inline function calls when using function with undetermined type interface with literals as input
laurent [Mon, 04 Jul 2011 15:27:09 +0200] rev 332
Fix bug in inline function calls when using function with undetermined type interface with literals as input

2011-06-29Fix warnings when compiling matiec
laurent [Wed, 29 Jun 2011 12:28:59 +0200] rev 331
Fix warnings when compiling matiec

2011-06-29Fix warning on nop statement at the end of function_block and program generated code
laurent [Wed, 29 Jun 2011 12:28:13 +0200] rev 330
Fix warning on nop statement at the end of function_block and program generated code

2011-06-29Adding double underscore in computed enumerated value to avoid conflict with other user defined identifiers
laurent [Wed, 29 Jun 2011 12:26:00 +0200] rev 329
Adding double underscore in computed enumerated value to avoid conflict with other user defined identifiers

2011-06-28Add support for finding type of a constant enumerated value and managing conflict between same identifiers defined in different enumerated data types
laurent [Tue, 28 Jun 2011 19:03:15 +0200] rev 328
Add support for finding type of a constant enumerated value and managing conflict between same identifiers defined in different enumerated data types

2011-06-27Fix bug in declaring variable of enumerated type
laurent [Mon, 27 Jun 2011 18:01:43 +0200] rev 327
Fix bug in declaring variable of enumerated type

2011-06-16Fix what I think is a bug (has not yet manifested itself).
Mario de Sousa <msousa@fe.up.pt> [Thu, 16 Jun 2011 11:14:13 +0100] rev 326
Fix what I think is a bug (has not yet manifested itself).

2011-06-16Merging with Lauren't recent change.
Mario de Sousa <msousa@fe.up.pt> [Thu, 16 Jun 2011 11:12:02 +0100] rev 325
Merging with Lauren't recent change.

2011-06-16Merging two previous commits.
Mario de Sousa <msousa@fe.up.pt> [Thu, 16 Jun 2011 11:05:13 +0100] rev 324
Merging two previous commits.

2011-06-10Clean up some code.
Mario de Sousa <msousa@fe.up.pt> [Fri, 10 Jun 2011 10:13:15 +0100] rev 323
Clean up some code.

2011-06-14Fix bug with array attribute in structure declaration
laurent [Tue, 14 Jun 2011 17:15:47 +0200] rev 322
Fix bug with array attribute in structure declaration

2011-06-14Add better comments, and change name of functions to clarify what they do.
Mario de Sousa <msousa@fe.up.pt> [Tue, 14 Jun 2011 14:53:37 +0100] rev 321
Add better comments, and change name of functions to clarify what they do.

2011-06-10Remove incorect debugging assertion.
Mario de Sousa <msousa@fe.up.pt> [Fri, 10 Jun 2011 08:47:38 +0100] rev 320
Remove incorect debugging assertion.

2011-06-10Skip CONFIGURATION declarations in stage 3 for now, so semantic analysis does not stop when a configuration is encountered.
Mario de Sousa <msousa@fe.up.pt> [Fri, 10 Jun 2011 06:30:30 +0100] rev 319
Skip CONFIGURATION declarations in stage 3 for now, so semantic analysis does not stop when a configuration is encountered.

2011-06-09Fix bug when generating initial value for function return type when it is a complex type
laurent [Thu, 09 Jun 2011 17:51:00 +0200] rev 318
Fix bug when generating initial value for function return type when it is a complex type

2011-06-09Fix bug in debugging variable list compilation with structure and array disabling
laurent [Thu, 09 Jun 2011 17:47:57 +0200] rev 317
Fix bug in debugging variable list compilation with structure and array disabling

2011-06-08Fix bug with TRUNC function and with type conversion functions called with constant as parameter
laurent [Wed, 08 Jun 2011 18:34:53 +0200] rev 316
Fix bug with TRUNC function and with type conversion functions called with constant as parameter

2011-06-08Allow use of ENO keyword in structured variable field selector.
Mario de Sousa <msousa@fe.up.pt> [Wed, 08 Jun 2011 11:42:19 +0100] rev 315
Allow use of ENO keyword in structured variable field selector.

2011-06-06Fixing REAL_TO_INT conversion (behaved like a trunc and not like a round)
laurent [Mon, 06 Jun 2011 16:28:41 +0200] rev 314
Fixing REAL_TO_INT conversion (behaved like a trunc and not like a round)

2011-06-06fixing INSERT function: was inserting into incorrect position. (submitted by Manuele)
Mario de Sousa <msousa@fe.up.pt> [Mon, 06 Jun 2011 14:05:28 +0100] rev 313
fixing INSERT function: was inserting into incorrect position. (submitted by Manuele)

2011-06-06Fix bug when generating integer with leading zero (octal value for C compiler)
laurent [Mon, 06 Jun 2011 11:01:47 +0200] rev 312
Fix bug when generating integer with leading zero (octal value for C compiler)

2011-06-03Allow [EOL] after a label in IL.
Mario de Sousa <msousa@fe.up.pt> [Fri, 03 Jun 2011 17:14:24 +0100] rev 311
Allow [EOL] after a label in IL.

2011-06-01Fix bug when using an enumerated or subrange type to define a structure element
laurent [Wed, 01 Jun 2011 14:02:16 +0200] rev 310
Fix bug when using an enumerated or subrange type to define a structure element

2011-05-31Fix bug when declaring data type directly derived from array type
laurent [Tue, 31 May 2011 15:35:05 +0200] rev 309
Fix bug when declaring data type directly derived from array type

2011-05-30Fix conversion of binary digits to hex, when generating code.
Mario de Sousa <msousa@fe.up.pt> [Mon, 30 May 2011 19:28:32 +0100] rev 308
Fix conversion of binary digits to hex, when generating code.

2011-05-30Fix missing '(' when declaring new simple derived data type.
Mario de Sousa <msousa@fe.up.pt> [Mon, 30 May 2011 19:24:09 +0100] rev 307
Fix missing '(' when declaring new simple derived data type.

2011-05-30Ignore underscores in decimal integer constants when determining size in bits...
Mario de Sousa <msousa@fe.up.pt> [Mon, 30 May 2011 19:16:22 +0100] rev 306
Ignore underscores in decimal integer constants when determining size in bits...

2011-05-30When checking semantics of expressions, skip semantic checking of data type definitions
Mario de Sousa <msousa@fe.up.pt> [Mon, 30 May 2011 17:54:15 +0100] rev 305
When checking semantics of expressions, skip semantic checking of data type definitions
(not yet supported). If we don't skip, all subsequent POUs would not be checked.

2011-05-30Fixing algorithm that determines bit size of constants containing underscores.
Mario de Sousa <msousa@fe.up.pt> [Mon, 30 May 2011 17:52:15 +0100] rev 304
Fixing algorithm that determines bit size of constants containing underscores.

2011-05-27Merging with Edouard's version
Mario de Sousa <msousa@fe.up.pt> [Fri, 27 May 2011 18:01:54 +0100] rev 303
Merging with Edouard's version

2011-05-27Fixing bug related to setting array variables with values coming from other variables
Mario de Sousa <msousa@fe.up.pt> [Fri, 27 May 2011 18:01:01 +0100] rev 302
Fixing bug related to setting array variables with values coming from other variables
(e.g. X[0] := Y;)

2011-05-18Added __IEC_OUTPUT_FLAG, to mark variable whose forcing implies refresh on eache cycle.
Edouard Tisserant [Wed, 18 May 2011 16:32:46 +0200] rev 301
Added __IEC_OUTPUT_FLAG, to mark variable whose forcing implies refresh on eache cycle.

2011-05-18Fix bug when debugging located variables of type memory (%M) for all variable classes
laurent [Wed, 18 May 2011 13:20:24 +0200] rev 300
Fix bug when debugging located variables of type memory (%M) for all variable classes

2011-05-17Merging with Edouard's changes
Mario de Sousa <msousa@fe.up.pt> [Tue, 17 May 2011 10:35:12 +0100] rev 299
Merging with Edouard's changes

2011-05-17Fixing code generation of array indexes in Function Blocks.
Mario de Sousa <msousa@fe.up.pt> [Tue, 17 May 2011 10:34:00 +0100] rev 298
Fixing code generation of array indexes in Function Blocks.

2011-05-15Commiting merge with Laurent's recent dead code removal change.
Mario de Sousa <msousa@fe.up.pt> [Sun, 15 May 2011 10:22:15 +0100] rev 297
Commiting merge with Laurent's recent dead code removal change.

2011-04-19Adding fflush capabilities. It is sometimes usefull when debuging the compiler...
Mario de Sousa <msousa@fe.up.pt> [Tue, 19 Apr 2011 09:36:59 +0100] rev 296
Adding fflush capabilities. It is sometimes usefull when debuging the compiler...

2011-04-15Adding missing semicolons.
Mario de Sousa <msousa@fe.up.pt> [Fri, 15 Apr 2011 09:45:27 +0100] rev 295
Adding missing semicolons.

2011-05-16fixed build error with gcc 4.5.2
Edouard Tisserant [Mon, 16 May 2011 14:19:20 +0200] rev 294
fixed build error with gcc 4.5.2

2011-05-16Merged with Edouard's modifications
laurent [Mon, 16 May 2011 12:36:21 +0200] rev 293
Merged with Edouard's modifications

2011-05-16Fix bug when debugging located variables of type memory (%M)
laurent [Mon, 16 May 2011 11:57:41 +0200] rev 292
Fix bug when debugging located variables of type memory (%M)

2011-04-21Removed dead code
Edouard Tisserant [Thu, 21 Apr 2011 11:22:13 +0200] rev 291
Removed dead code

2011-04-14Fixing implementation of CU, CD, and CUD in standard library.
Mario de Sousa <msousa@fe.up.pt> [Thu, 14 Apr 2011 19:17:20 +0100] rev 290
Fixing implementation of CU, CD, and CUD in standard library.

2011-04-14Deleting dead code.
Mario de Sousa <msousa@fe.up.pt> [Thu, 14 Apr 2011 19:02:35 +0100] rev 289
Deleting dead code.

2011-04-14Merging changes.
Mario de Sousa <msousa@fe.up.pt> [Thu, 14 Apr 2011 18:55:31 +0100] rev 288
Merging changes.

2011-04-14Added tracking of order by which tokens are processed by lexical analyser.
Mario de Sousa <msousa@fe.up.pt> [Thu, 14 Apr 2011 18:12:59 +0100] rev 287
Added tracking of order by which tokens are processed by lexical analyser.
This helps in correctly formating error messages when constructs begin in one file, and end in another.

2011-04-14Adding tracking of filename in which token is located.
Mario de Sousa <msousa@fe.up.pt> [Thu, 14 Apr 2011 17:35:25 +0100] rev 286
Adding tracking of filename in which token is located.

2011-04-07Reverted semantic error message so that Beremiz can parse them and that user can double-click on error message to open related POU and select the faulty line.
Edouard Tisserant [Thu, 07 Apr 2011 11:40:03 +0200] rev 285
Reverted semantic error message so that Beremiz can parse them and that user can double-click on error message to open related POU and select the faulty line.

2011-04-05Fixing error message incorrectly changed in previous merge.
Mario de Sousa <msousa@fe.up.pt> [Tue, 05 Apr 2011 19:42:33 +0100] rev 284
Fixing error message incorrectly changed in previous merge.

2011-04-05fixing C code generation of return_statement_c and exit_statement_c
Mario de Sousa <msousa@fe.up.pt> [Tue, 05 Apr 2011 18:31:55 +0100] rev 283
fixing C code generation of return_statement_c and exit_statement_c

2011-04-05merging the Edouard's version.
Mario de Sousa <msousa@fe.up.pt> [Tue, 05 Apr 2011 17:12:12 +0100] rev 282
merging the Edouard's version.

2011-04-05fixing exit_statement_c: produce 'break' instead of 'exit(0); (Thanks to Manuele)
Mario de Sousa <msousa@fe.up.pt> [Tue, 05 Apr 2011 14:24:07 +0100] rev 281
fixing exit_statement_c: produce 'break' instead of 'exit(0); (Thanks to Manuele)

2011-04-05Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt> [Tue, 05 Apr 2011 14:17:16 +0100] rev 280
Fixing code generation of standard conversion functions.

2011-04-05Re-generated std lib related code, with updated headers, updated all forgotten headers
Edouard Tisserant [Tue, 05 Apr 2011 15:14:19 +0200] rev 279
Re-generated std lib related code, with updated headers, updated all forgotten headers

2011-04-04Merged matiec library headers update from Mario to LGPL
Edouard Tisserant [Mon, 04 Apr 2011 19:18:22 +0200] rev 278
Merged matiec library headers update from Mario to LGPL

2011-04-04Changing to LGPL for library functions.
Mario de Sousa <msousa@fe.up.pt> [Mon, 04 Apr 2011 15:59:35 +0100] rev 277
Changing to LGPL for library functions.

2011-04-04Updating origin and license info of library fuctions.
Mario de Sousa <msousa@fe.up.pt> [Mon, 04 Apr 2011 15:26:13 +0100] rev 276
Updating origin and license info of library fuctions.
Conclude missing counter FBs.

2011-04-04Leave standard function names hardcoded, as these are considered keywords even though
Mario de Sousa <msousa@fe.up.pt> [Mon, 04 Apr 2011 15:22:42 +0100] rev 275
Leave standard function names hardcoded, as these are considered keywords even though
they may not be implemented in the library.