2011-09-01Fix make on system without mercurial installed.
Manuele Conti <conti.ma@alice.it> [Thu, 01 Sep 2011 21:32:57 +0200] rev 374
Fix make on system without mercurial installed.

2011-08-31delete code no longer needed.
Mario de Sousa <msousa@fe.up.pt> [Wed, 31 Aug 2011 19:29:47 +0100] rev 373
delete code no longer needed.

2011-08-31Implement get_type_decl(), as it seems Manuele will need it later...
Mario de Sousa <msousa@fe.up.pt> [Wed, 31 Aug 2011 14:51:59 +0100] rev 372
Implement get_type_decl(), as it seems Manuele will need it later...

2011-08-31Cleaning up: Getting some sense into the code handling structures.
Mario de Sousa <msousa@fe.up.pt> [Wed, 31 Aug 2011 14:10:53 +0100] rev 371
Cleaning up: Getting some sense into the code handling structures.

2011-08-25Add automatic HG changeset id information in "-v" param
Matteo Facchinetti [Thu, 25 Aug 2011 17:22:44 +0200] rev 370
Add automatic HG changeset id information in "-v" param

2011-08-25Add iec2iec building in the project Makefiles.
Matteo Facchinetti [Thu, 25 Aug 2011 08:56:28 +0200] rev 369
Add iec2iec building in the project Makefiles.

2011-08-26Update which files to ignore due to new autotools building environment.
Mario de Sousa <msousa@fe.up.pt> [Fri, 26 Aug 2011 11:29:43 +0100] rev 368
Update which files to ignore due to new autotools building environment.

2011-08-26Add checks for undefined structure elements used IEC 61131-3 source code being compiled.
Mario de Sousa <msousa@fe.up.pt> [Fri, 26 Aug 2011 10:48:09 +0100] rev 367
Add checks for undefined structure elements used IEC 61131-3 source code being compiled.

2011-08-25Ignore underscores when extracting value of integer.
Mario de Sousa <msousa@fe.up.pt> [Thu, 25 Aug 2011 17:55:48 +0100] rev 366
Ignore underscores when extracting value of integer.

2011-08-23Deleting unused code.
Mario de Sousa <msousa@fe.up.pt> [Tue, 23 Aug 2011 17:18:37 +0100] rev 365
Deleting unused code.

2011-08-23Removing Makefiles made redundant by autotools.
Mario de Sousa <msousa@fe.up.pt> [Tue, 23 Aug 2011 16:28:03 +0100] rev 364
Removing Makefiles made redundant by autotools.

2011-08-23fix bug report email address.
Mario de Sousa <msousa@fe.up.pt> [Tue, 23 Aug 2011 14:17:46 +0100] rev 363
fix bug report email address.

2011-08-23Add print version command line option.
Mario de Sousa <msousa@fe.up.pt> [Tue, 23 Aug 2011 14:15:12 +0100] rev 362
Add print version command line option.

2011-08-23Remove debugging printf() added by mistake in previous commit.
Mario de Sousa <msousa@fe.up.pt> [Tue, 23 Aug 2011 11:54:34 +0100] rev 361
Remove debugging printf() added by mistake in previous commit.

2011-08-23Print error messages when data type errors in ST expressions are detected.
Mario de Sousa <msousa@fe.up.pt> [Tue, 23 Aug 2011 11:51:14 +0100] rev 360
Print error messages when data type errors in ST expressions are detected.

2011-08-23Include (again!) the declaration of standard functions (incorrectly removed -again- in previous commit)
Mario de Sousa <msousa@fe.up.pt> [Tue, 23 Aug 2011 09:10:03 +0100] rev 359
Include (again!) the declaration of standard functions (incorrectly removed -again- in previous commit)

2011-08-22Add support for '**' (power) operator in ST expressions
Mario de Sousa <msousa@fe.up.pt> [Mon, 22 Aug 2011 16:08:07 +0100] rev 358
Add support for '**' (power) operator in ST expressions

2011-08-19Some more comments on how to build, and correcting name of README.build file.
Mario de Sousa <msousa@fe.up.pt> [Fri, 19 Aug 2011 21:53:11 +0100] rev 357
Some more comments on how to build, and correcting name of README.build file.

2011-08-19Include the declaration of standard functions (incorrectly removed in previous commit)
Mario de Sousa <msousa@fe.up.pt> [Fri, 19 Aug 2011 20:57:49 +0100] rev 356
Include the declaration of standard functions (incorrectly removed in previous commit)

2011-08-19Merging with Laurent's repository.
Mario de Sousa <msousa@fe.up.pt> [Fri, 19 Aug 2011 20:48:05 +0100] rev 355
Merging with Laurent's repository.

2011-08-19Fixing automake configuration to work properly with flex and bison.
Mario de Sousa <msousa@fe.up.pt> [Fri, 19 Aug 2011 17:33:57 +0100] rev 354
Fixing automake configuration to work properly with flex and bison.

2011-07-29Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt> [Fri, 29 Jul 2011 16:08:40 +0100] rev 353
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it

2011-07-29Support for semantic verification of calls to standard functions.
Mario de Sousa <msousa@fe.up.pt> [Fri, 29 Jul 2011 16:06:38 +0100] rev 352
Support for semantic verification of calls to standard functions.
Removing files no longer required.

2011-07-29Support for semantic verification of calls to standard function calls.
Mario de Sousa <msousa@fe.up.pt> [Fri, 29 Jul 2011 16:05:03 +0100] rev 351
Support for semantic verification of calls to standard function calls.
Adding missing files in previous commit.

2011-07-29Support for semantic verification of calls to standard functions.
Mario de Sousa <msousa@fe.up.pt> [Fri, 29 Jul 2011 16:03:28 +0100] rev 350
Support for semantic verification of calls to standard functions.
This commit makes a fundamental change in the way standard functions are handled by the compiler.

2011-09-07Fixing exponentiation used with symbol **
laurent [Wed, 07 Sep 2011 19:28:10 +0200] rev 349
Fixing exponentiation used with symbol **

2011-09-02Fix bugs in exponentiation
laurent [Fri, 02 Sep 2011 18:16:33 +0200] rev 348
Fix bugs in exponentiation

2011-09-02Fix case statement in ST, adding support for enumerated types
laurent [Fri, 02 Sep 2011 18:15:55 +0200] rev 347
Fix case statement in ST, adding support for enumerated types

2011-07-13Adding BYTE operators visit functions in inlinefcall
laurent [Wed, 13 Jul 2011 13:57:29 +0200] rev 346
Adding BYTE operators visit functions in inlinefcall

2011-07-13Fix bug with DIV and MOD operator in IL code generator
laurent [Wed, 13 Jul 2011 13:40:14 +0200] rev 345
Fix bug with DIV and MOD operator in IL code generator

2011-07-13Fix bug in suffix of inlinefcall call in ST and IL
laurent [Wed, 13 Jul 2011 12:44:12 +0200] rev 344
Fix bug in suffix of inlinefcall call in ST and IL

2011-07-13Remove inclusion of missing file in lib
laurent [Wed, 13 Jul 2011 12:32:34 +0200] rev 343
Remove inclusion of missing file in lib

2011-07-13Commiting merge with Mario's repository
laurent [Wed, 13 Jul 2011 11:48:34 +0200] rev 342
Commiting merge with Mario's repository

2011-07-11commiting merge with Laurent's repository
Mario de Sousa <msousa@fe.up.pt> [Mon, 11 Jul 2011 09:47:27 +0100] rev 341
commiting merge with Laurent's repository

2011-07-09changing 'make' to '$(MAKE)' so other make tools (e.g. gmake) may also be used.
Mario de Sousa <msousa@fe.up.pt> [Sat, 09 Jul 2011 14:48:31 +0100] rev 340
changing 'make' to '$(MAKE)' so other make tools (e.g. gmake) may also be used.

2011-07-09Replacing extern declaration with #include of apropriate header file
Mario de Sousa <msousa@fe.up.pt> [Sat, 09 Jul 2011 14:17:52 +0100] rev 339
Replacing extern declaration with #include of apropriate header file

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