florian
058e1877ba
+ store compiler switch changes in generic token streams
...
git-svn-id: trunk@5095 -
2006-10-30 19:54:17 +00:00
florian
85d63d9fa9
* settings refactored
...
git-svn-id: trunk@5094 -
2006-10-30 18:02:58 +00:00
peter
3078a1927f
* remove ttype
...
* rename old ttype variables *type to *def
* rename resulttypepass to pass_typecheck
* rename pass_2 to pass_generate_code
git-svn-id: trunk@5077 -
2006-10-29 22:19:39 +00:00
Jonas Maebe
36c6879581
+ -Sx command line switch to turn on exception keywords in non-Delphi/ObjFPC
...
modes (mainly for MacPas, to replace nested gotos with exceptions)
git-svn-id: trunk@4984 -
2006-10-20 12:54:47 +00:00
micha
5f353d6fef
add warning for arithmetic on untyped pointers
...
git-svn-id: trunk@4823 -
2006-10-07 19:34:16 +00:00
micha
bd6afce618
enable typed addresses {$T+} in fpc and objfpc mode
...
git-svn-id: trunk@4795 -
2006-10-04 20:46:08 +00:00
peter
d0156354a6
* inline directive enabled by default for fpc,objfpc,delphi modes
...
* -Si and $inline directive control are now local switches and
have finer control on whether a function will really inlined or not
git-svn-id: trunk@4553 -
2006-09-04 19:54:21 +00:00
Jonas Maebe
eccbc78e04
+ support for bitpacked arrays:
...
+ use {$bitpacking on/+} to change the meaning of "packed"
into "bitpacked" for arrays. This is the default for MacPas.
You can also define individual arrays as "bitpacked", but
this is not encouraged since this keyword is not known by
other compilers and therefore makes your code unportable.
+ pack(unpackedarray,index,packedarray) to pack
length(packedarray) elements starting at
unpackedarray[index] into packedarray.
+ unpack(packedarray,unpackedarray,index) to unpack
packedarray into unpackedarray, with the first
element being stored at unpackedarray[index]
* todo:
* "open packed arrays" and rtti for packed arrays are not
yet supported
* gdb does not properly support bitpacked arrays
git-svn-id: trunk@4449 -
2006-08-19 12:54:12 +00:00
Jonas Maebe
ed910b5d31
* support goto/label by default in tp/delphi/macpas modes (bug 4893)
...
git-svn-id: trunk@2958 -
2006-03-18 22:25:41 +00:00
peter
b1c66a106e
* more dup id fixes
...
git-svn-id: trunk@2465 -
2006-02-07 07:58:37 +00:00
peter
a59690b147
* make generic basics working again
...
git-svn-id: trunk@2458 -
2006-02-06 09:21:08 +00:00
peter
232555904e
* symtablestack cleanup and rewrite
...
git-svn-id: trunk@2448 -
2006-02-05 22:24:18 +00:00
olle
7b811ac58e
Added short circuit evaluation of compile time expressions
...
git-svn-id: trunk@2331 -
2006-01-23 21:34:24 +00:00
peter
a5f659b982
* support FPCDATE include
...
git-svn-id: trunk@2263 -
2006-01-12 06:59:43 +00:00
peter
95879fe8a7
* basic support for generic classes
...
git-svn-id: trunk@2020 -
2005-12-21 10:11:15 +00:00
Jonas Maebe
ef2a0c7ddf
* changed default packenum for MacPas from 1 to 2 (compatible with Metrowerks)
...
git-svn-id: trunk@1971 -
2005-12-16 12:22:39 +00:00
florian
d6628f1d8b
* resolve postponed local switch changes before switching mode
...
git-svn-id: trunk@1880 -
2005-12-04 19:36:57 +00:00
peter
539b7dc220
* setting the compile mode should set the preprocessor symbol directly
...
git-svn-id: trunk@1457 -
2005-10-18 06:57:39 +00:00
olle
e40c2fd8b0
+ compile time expression type checking
...
* fixed bug in $DEFINE under macpas
git-svn-id: trunk@919 -
2005-08-22 19:09:41 +00:00
marco
a234180e3a
* patch for 4095
...
git-svn-id: trunk@895 -
2005-08-16 12:13:28 +00:00
peter
3051c91530
* fix max macro length check
...
git-svn-id: trunk@650 -
2005-07-18 13:15:26 +00:00
olle
b53bd80bf4
* Fixed bug introduced in r581. Did also some refactoring.
...
git-svn-id: trunk@603 -
2005-07-09 20:21:36 +00:00
peter
4222e24422
* fix preprocessor support for empty set constants
...
git-svn-id: trunk@584 -
2005-07-05 06:11:20 +00:00
olle
4f54b92312
* fix so that outdeffed directives are not parsed (only nestlevels is accounted for)
...
git-svn-id: trunk@581 -
2005-07-04 18:40:48 +00:00
florian
cefa8ce9b9
* utf-8 fix from Rimgaudas Laucius
...
git-svn-id: trunk@556 -
2005-07-02 12:03:47 +00:00
peter
408bba521a
* support constset in $if
...
git-svn-id: trunk@538 -
2005-06-30 08:19:01 +00:00
peter
8e29f17019
* keyword check patch from Gerhard Scholz
...
git-svn-id: trunk@530 -
2005-06-29 15:09:28 +00:00
florian
ec6d5ff211
+ utf-8 support for string constants added
...
git-svn-id: trunk@428 -
2005-06-16 20:16:37 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
florian
83ac6eeaad
* 32 -> 64 bit cross compilation fixed
2005-05-06 17:02:52 +00:00
michael
03e265c4b2
+ Patch from Christian Iversen to fix defined() macro command
2005-05-02 18:44:00 +00:00
olle
afdcfb08ce
* Disabled warning for undefined compile time var in mode macpas, since it did not work.
2005-03-28 21:34:36 +00:00
olle
878c56bad6
* Cleaned up handling of source file extension.
...
+ Added support for .p extension for macos and darwin
2005-03-20 22:36:45 +00:00
olle
7cb6368f12
* Support for pascal constant expr in compile time expr, is now only allowed in mode Delphi
...
+ Warning for undefined compile time var in mode macpas
* Support for some turbo directives in mode macpas
* Support for Metrowerks style DEFINED xxx
2005-03-20 18:13:34 +00:00
peter
fe9bf2081d
Support constants and IN operator in preprocessor patch by Christian Iversen
2005-02-27 17:15:01 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
peter
79c20ebf7d
* use val() for decoding integers
2005-01-20 17:05:53 +00:00
olle
7572f3a539
* rework of macro subsystem
...
+ exportable macros for mode macpas
2005-01-09 20:24:43 +00:00
peter
b537382710
* give error when reading identifier > 255 chars
2005-01-04 16:34:03 +00:00
peter
6458bd0ce1
* tvarsym splitted
2004-11-08 22:09:58 +00:00
peter
c95a859f0a
* generic tlocation
...
* move tlocation to cgutils
2004-10-31 21:45:02 +00:00
peter
bc59556a41
* $fpctarget expands to <cpu>-<os>
...
* allow * in middle of the path to support ../*/units/$fpctarget
2004-10-31 18:54:24 +00:00
peter
e7459f5466
* heap and heapsize removed
...
* checkpointer fixes
2004-10-25 15:38:41 +00:00
mazen
581b52422c
- remove $IFDEF DELPHI and related code
...
- remove $IFDEF FPCPROCVAR and related code
2004-10-15 09:14:16 +00:00
olle
45e4998167
* Exchanged hardcoded "./" to CurDirRelPath
2004-10-09 11:29:15 +00:00
mazen
83cb4fe087
* revert last change : removal of dos unit
2004-09-29 06:52:43 +00:00
mazen
880427b9aa
- remove Dos unit dependency
2004-09-28 16:00:52 +00:00
olle
bb684d007d
* Minor bugfix in $IFOPT
2004-09-12 20:46:58 +00:00
olle
df2d2a847c
+ added flag to TMacro denoting mac style compiler variable
...
* fixed $DEFINEC
* improved robustness of macro facility
2004-08-22 23:16:06 +00:00