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.

2011-04-04New version of bistable.txt - due to license issues.
Mario de Sousa <msousa@fe.up.pt> [Mon, 04 Apr 2011 14:32:21 +0100] rev 274
New version of bistable.txt - due to license issues.

2011-04-04Make semantic error message compatible with beremiz
Edouard Tisserant [Mon, 04 Apr 2011 18:54:55 +0200] rev 273
Make semantic error message compatible with beremiz

2011-04-04Merge
Edouard Tisserant [Mon, 04 Apr 2011 17:19:35 +0200] rev 272
Merge

2011-04-04Fixes to make handling of standard functions in Semantic analyser compatible with code generation of standard functions
Edouard Tisserant [Mon, 04 Apr 2011 17:13:03 +0200] rev 271
Fixes to make handling of standard functions in Semantic analyser compatible with code generation of standard functions

2011-04-04Merge with changes from Mario
Edouard Tisserant [Mon, 04 Apr 2011 13:25:39 +0200] rev 270
Merge with changes from Mario

2011-04-04Fixing stupid bug (that was disabling code generation).
Mario de Sousa <msousa@fe.up.pt> [Mon, 04 Apr 2011 11:19:48 +0100] rev 269
Fixing stupid bug (that was disabling code generation).

2011-04-04Adding Makefile for Darwin (thanks go to Manuele)
Mario de Sousa <msousa@fe.up.pt> [Mon, 04 Apr 2011 10:48:30 +0100] rev 268
Adding Makefile for Darwin (thanks go to Manuele)

2011-04-04starting to add proper header file with declaration of standard functions
Mario de Sousa <msousa@fe.up.pt> [Mon, 04 Apr 2011 10:42:03 +0100] rev 267
starting to add proper header file with declaration of standard functions

2011-04-01Fixing error messages for IL semantic errors (brocken in a previous changeset/commit).
Mario de Sousa <msousa@fe.up.pt> [Fri, 01 Apr 2011 12:19:32 +0100] rev 266
Fixing error messages for IL semantic errors (brocken in a previous changeset/commit).

2011-04-01Updating license info (with Edouard's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt> [Fri, 01 Apr 2011 10:47:24 +0100] rev 265
Updating license info (with Edouard's permission for relevant files).

2011-04-01Updating License info (with Edoaurd's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt> [Fri, 01 Apr 2011 10:06:19 +0100] rev 264
Updating License info (with Edoaurd's permission for relevant files).

2011-04-01Adding some debug info
Mario de Sousa <msousa@fe.up.pt> [Fri, 01 Apr 2011 10:03:22 +0100] rev 263
Adding some debug info

2011-03-31Do not crash when checking semantics of undeclared symbolic_variable.
Mario de Sousa <msousa@fe.up.pt> [Thu, 31 Mar 2011 21:06:36 +0100] rev 262
Do not crash when checking semantics of undeclared symbolic_variable.
NOTE: this update may have broken the printing of error messages
during semantic analysis of IL code.

2011-03-31Updating licensing information.
Mario de Sousa <msousa@fe.up.pt> [Thu, 31 Mar 2011 17:40:55 +0100] rev 261
Updating licensing information.

2011-03-31Error messages (stage3) now better identify the location of the error.
Mario de Sousa <msousa@fe.up.pt> [Thu, 31 Mar 2011 13:20:50 +0100] rev 260
Error messages (stage3) now better identify the location of the error.

2011-03-31Adding debug conditional printf()s in stage 3.
Mario de Sousa <msousa@fe.up.pt> [Thu, 31 Mar 2011 10:52:03 +0100] rev 259
Adding debug conditional printf()s in stage 3.
Printing semantic error info to stderr instead of stdout.

2011-03-31Merging my Huge change with Edouards/Laurents version
Mario de Sousa <msousa@fe.up.pt> [Thu, 31 Mar 2011 10:45:34 +0100] rev 258
Merging my Huge change with Edouards/Laurents version

2011-03-30Huge change.
Mario de Sousa <msousa@fe.up.pt> [Wed, 30 Mar 2011 19:53:32 +0100] rev 257
Huge change.

2011-04-01Changed packing declaration in iec_types
Edouard Tisserant [Fri, 01 Apr 2011 11:10:06 +0200] rev 256
Changed packing declaration in iec_types