Commit Graph

231 Commits

Author SHA1 Message Date
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
olle
6ad2b42765 + added DEFINEC for mode macpas, is equivalent to DEFINE
* fixed bug when macro without value is used in a compile time expr.
2004-08-22 10:50:19 +00:00
florian
a47844c817 * sizeof in the preprocessor handles types now as well 2004-08-02 20:45:40 +00:00
michael
f897872df2 + Patch from Christian Iversen to implement LIBPREFIX/SUFFIX/EXTENSION directives 2004-08-02 07:15:54 +00:00
olle
17cab34c49 + Added compile time function OPTION(x) for MacPas
* Saved file as text and not binary (I hope)
2004-07-23 00:25:05 +00:00
olle
5843170183 + Added compile time function OPTION(x) for MacPas 2004-07-22 11:58:51 +00:00
olle
98df0978e1 + adding operators "|" and "&" for macpas 2004-07-05 23:25:34 +00:00
florian
8a9758c5e2 * logs truncated 2004-06-20 08:55:28 +00:00
peter
fed62c2f70 * Patch from Christian Iversen to support sizeof() in preprocessor 2004-05-23 20:55:38 +00:00
peter
06448271ff * $message directive compatible with delphi 2004-05-19 23:29:56 +00:00
peter
fa1a8cbf17 * report about illegal chars in preproctoken instead of end of
expression
  * support realnumbers in preproctoken parser
2004-05-16 13:55:26 +00:00
olle
758c940518 + added language constructs UNIV, C, ... for mode mac
* consolidated macro expression to conform to Pascal
  * macro true is defined as <> 0
2004-05-03 10:06:38 +00:00
peter
4b3db6acb4 * $elseif support
* conditiotnal in // returns warning isntead of error
2004-03-04 17:23:10 +00:00
peter
1dd1cfe20a * more fixes for skipuntildirective 2004-02-29 13:28:57 +00:00
michael
3399057a27 + Patch from peter to fix webtb[fs]/tw2853*.pp 2004-02-27 11:50:13 +00:00
peter
25213e4efb * resursive macro's fixed in preprocessor 2004-02-26 16:15:45 +00:00
olle
51c1526296 + mode mac: preproc support for hexadecimal numbers
+ mode mac: preproc support for TRUE, FALSE
2004-02-25 00:54:47 +00:00
olle
ff2c436b78 + mode mac: added UNDEFINED construct
+ mode mac: added support for include $I
  * renamed one of the readpreproc to preproc_substitutedtoken to avoid confusement
2004-02-23 23:38:25 +00:00
daniel
d47da881ed * Better fix for case sensitive macro handling 2004-02-11 14:46:59 +00:00
daniel
ed76d1e17d * Compiler was partially case sensitive in macro expansion
* Multiple and/or preprocessor statements caused problems
2004-02-11 14:13:10 +00:00
daniel
46d241a666 * Take advantage of our new with statement optimization 2004-02-07 23:28:34 +00:00
peter
2ebd9f20b5 * do nothing for macro's in tempcloseinput,tempopeninput 2003-11-12 16:57:59 +00:00