peter
2721d341f0
* merged some verbosity options.
...
* V_LineInfo is a verbosity flag to include line info
2003-01-09 21:52:37 +00:00
peter
bbf8bddbb4
* unit loading changed to first register units and load them
...
afterwards. This is needed to support uses xxx in yyy correctly
* unit dependency check fixed
2002-12-29 14:57:50 +00:00
peter
1ae6696e1b
* use gettoken to get filename for include
2002-12-27 18:05:58 +00:00
peter
7e58010fa1
* fix delphi comment parsing when skipping preproc directive
2002-12-27 16:45:50 +00:00
peter
0d2c1bfd3c
* give an error when no symbol is specified after $if(n)def
2002-12-27 15:26:43 +00:00
peter
9394913716
* support quotes around include filenames
2002-12-24 23:32:02 +00:00
carl
e992fd20ab
* remove a stupid thing that i commited
2002-12-05 19:27:00 +00:00
carl
5c5db0e0a3
+ unimplemented hint directive added
...
* hint directive parsing implemented
* warning on these directives
2002-11-29 22:31:19 +00:00
peter
6c097b4546
* fix macro nesting check
2002-11-26 22:56:40 +00:00
peter
a431bf27a0
* parse ^ after nil as caret
2002-09-16 19:05:48 +00:00
carl
a013d19c36
* bugfix of bug report 2072 (merged)
2002-09-06 14:58:42 +00:00
peter
37bb42694b
* fixed crash when current_module becomes nil
2002-09-05 19:27:05 +00:00
pierre
0aceb4b76b
* fix for bug #2004 merged
2002-09-05 14:17:27 +00:00
peter
724ece4715
* tscannerfile is now destroyed in tmodule.reset and current_scanner
...
is updated accordingly. This removes all the loading and saving of
the old scanner and the invalid flag marking
2002-08-12 16:46:04 +00:00
peter
fb64d51f69
* TScannerFile.SetInvalid added that will also reset inputfile
2002-08-11 14:28:19 +00:00
carl
18b102ce95
+ moved target_cpu_string to cpuinfo
...
* renamed asmmode enum.
* assembler reader has now less ifdef's
* move from nppcmem.pas -> ncgmem.pas vec. node.
2002-08-10 14:46:29 +00:00
florian
2b3a8dccf8
+ support for octal constants, they are specified by a leading &
2002-08-06 21:12:16 +00:00
florian
64b27c2ca1
+ char constants specified with #.. with more than 3 digits are handled as widechar
2002-07-20 17:35:52 +00:00
peter
06ebac4e27
* readded missing revisions
2002-05-18 13:34:04 +00:00
carl
21b3a10f02
+ defines.inc -> fpcdefs.inc to avoid conflicts if compiling by hand
...
+ try to fix temp allocation (still in ifdef)
+ generic constructor calls
+ start of tassembler / tmodulebase class cleanup
2002-05-16 19:46:34 +00:00
peter
2992e1819c
* removed old logs and updated copyright year
2002-05-14 19:34:38 +00:00
peter
5ea6f2b824
* fixed memleaks when file can't be opened
2002-04-21 18:57:23 +00:00
carl
572b87cade
* first check .inc file extension
2002-04-21 15:22:26 +00:00
carl
1f52a0cbe7
- remove my fixes until Peter agrees on the fix (sorry Peter)
2002-04-21 07:24:09 +00:00
carl
87aa88e9b7
+ generic FPC_CHECKPOINTER
...
+ first parameter offset in stack now portable
* rename some constants
+ move some cpu stuff to other units
- remove unused constents
* fix stacksize for some targets
* fix generic size problems which depend now on EXTEND_SIZE constant
2002-04-20 21:32:23 +00:00
peter
17cd547898
* default extension checking for include files
2002-04-19 15:42:11 +00:00
peter
b5936b1588
* fixed // and (* parsing to not be done when already parsing a
...
tp comment in skipuntildirective
2002-03-01 14:39:44 +00:00
peter
cb16c423fe
* support // parsing in skipuntildirective
2002-03-01 12:39:26 +00:00
peter
09fb8a2649
* FPCTARGETOS/FPCTARGETCPU added as internal environment variable
2002-01-27 21:44:26 +00:00
peter
fd2ad837e2
* implicit result variable generation for assembler routines
...
* removed m_tp modeswitch, use m_tp7 or not(m_fpc) instead
2002-01-24 18:25:48 +00:00
peter
19e7ae8851
* fixed previous commit
2001-10-22 20:25:49 +00:00
peter
5f98096685
* give error with string constants longer than 255 chars, this is
...
compatible with kylix
2001-10-22 19:55:44 +00:00
florian
451ca157c4
* several widechar fixes, case works now
2001-10-17 22:41:04 +00:00
peter
5beb1658ce
* fix bug #1634 (merged)
2001-10-12 16:02:34 +00:00
peter
0d27041955
* merged delphi comment fix
2001-09-30 21:23:59 +00:00
michael
f959a590fe
* Fixes win32 linking problems with import libraries
...
* LINKLIB Libraries are now looked for using C file extensions
* get_exepath fix
2001-09-18 11:30:47 +00:00
peter
c4b84ce276
* m68k updates from v10 merged
2001-07-30 20:59:27 +00:00
peter
efa2d5f05e
* merged fixed relative path fix
2001-07-15 11:56:21 +00:00
peter
ca8d604964
* various widestring updates, it works now mostly without charset
...
mapping supported
2001-07-08 21:00:14 +00:00
peter
f86ce17588
+ hint directive parsing support
2001-06-03 21:57:35 +00:00
florian
fb40dcd0bb
+ some widestring stuff added
2001-05-27 14:30:55 +00:00
peter
bd25c6f88e
* fixed comment after comment parsing in assembler blocks
2001-04-13 22:12:34 +00:00
peter
316523ca15
* easier registration of directives
2001-04-13 18:00:36 +00:00
peter
a7cf57524e
* symtable change to classes
...
* range check generation and errors fixed, make cycle DEBUG=1 works
* memory leaks fixed
2001-04-13 01:22:06 +00:00
peter
32b9cdb7cf
+ new tlinkedlist class (merge of old tstringqueue,tcontainer and
...
tlinkedlist objects)
2000-12-25 00:07:25 +00:00
peter
377e4c5927
* moved preprocessfile into a conditional
2000-12-24 12:24:38 +00:00
peter
4c212d76d8
* fixed skipuntildirective
2000-12-18 17:59:01 +00:00
peter
21486921af
* fixed parsing of strings and comments in skipuntildirective
2000-12-16 15:36:02 +00:00
peter
bbe34f11f1
* merged fix for bug #1229
2000-11-30 20:27:51 +00:00
florian
b9796f6a7f
* unused units removed from uses clause
...
* some changes for widestrings
2000-11-29 00:30:30 +00:00
peter
451723647e
* symtable splitted, no real code changes
2000-10-31 22:02:46 +00:00
peter
a71e44ac49
* use defines.inc
2000-09-24 15:06:10 +00:00
peter
4c94659743
* moved some util functions from globals,cobjects to cutils
...
* splitted files into finput,fmodule
2000-08-27 16:11:48 +00:00
peter
fac523d7f6
* IDE patch for stream reading (merged)
2000-08-12 15:30:44 +00:00
peter
43f82ba0ff
* memdebug/memory patches (merged)
...
* only once illegal directive (merged)
2000-08-08 19:28:57 +00:00
michael
650fbb86aa
+ removed logs
2000-07-13 11:32:24 +00:00
michael
e7aca136a1
+ Initial import
2000-07-13 06:29:38 +00:00
peter
289e5d6567
* undid my previous commit, because it breaks some code
2000-07-08 18:03:11 +00:00
peter
e2c8882843
* also support string parsing in skipuntildirective for fpc modes
2000-07-08 16:22:30 +00:00
peter
957d4cdc89
* new message files layout with msg numbers (but still no code to
...
show the number on the screen)
2000-06-30 20:23:33 +00:00
peter
2b1d92cb5c
* no binary value reading with % if not fpc mode
...
* extended illegal char message with the char itself (Delphi like)
2000-06-18 18:05:54 +00:00
peter
b427a13613
* fixed parsing of $if preproc function
2000-06-09 21:35:37 +00:00
pierre
eb59e0b11c
* fix for tests/test/testrang.pp bug
2000-05-03 14:36:57 +00:00
michael
10b7a3ccbe
* Fixed bug in readcomment that was dropping * characters
2000-04-08 20:18:53 +00:00
peter
9f1695f700
* ^m support also after a string
2000-03-13 21:21:57 +00:00
florian
60058ae960
* very small change to scanner ...
2000-03-12 17:53:16 +00:00
pierre
35d59eeb52
Use $GOTO ON
2000-02-29 23:59:47 +00:00
daniel
fb1a842118
* Current work of symtable integration committed. The symtable can be
...
activated by defining 'newst', but doesn't compile yet. Changes in type
checking and oop are completed. What is left is to write a new
symtablestack and adapt the parser to use it.
2000-02-28 17:23:56 +00:00
peter
4a4a24b6e8
* log truncated
2000-02-09 13:22:42 +00:00
peter
706e0c4417
* fixed filepos when eof is read, it'll now stay on the eof position
2000-01-30 19:28:25 +00:00
peter
e525797c51
* updated copyright to 2000
2000-01-07 01:14:18 +00:00
peter
c5410eee5c
* preprocessor support. But it fails on the caret in type blocks
1999-12-02 17:34:34 +00:00
pierre
94f418dc11
+ one field added for ttoken record for operator
...
linking the id to the corresponding operator token that
can now now all be overloaded
* overloaded operators are resetted to nil in InitSymtable
(bug when trying to compile a uint that overloads operators twice)
1999-11-15 17:52:59 +00:00
peter
0887060ff2
* truncated log to 20 revs
1999-11-06 14:34:16 +00:00
peter
c60316b0d3
* fixed comment level counting after directive
1999-11-03 23:44:28 +00:00
peter
be22c241fb
* fixed oldtp comment parsing
1999-11-02 15:05:08 +00:00
peter
0e7c4919c8
* fixed line counter when the first line had #10 only. This was buggy
...
for both the main file as for include files
1999-10-30 12:32:30 +00:00
peter
eb72952214
* fixed macro within macro endless-loop
1999-09-27 23:40:10 +00:00
peter
0b396c0466
* $IFNDEF is 7 chars and not 6 chars
1999-09-03 10:02:48 +00:00
daniel
1777e0c901
* Could not compile with TP, some arrays moved to heap
...
* NOAG386BIN default for TP
* AG386* files were not compatible with TP, fixed.
1999-09-02 18:47:41 +00:00
peter
0274f3a08b
* fixed crash in psub
...
* ansistringcompare fixed
* support for #$0b8
1999-08-30 10:17:56 +00:00
michael
97393a3370
* Removed C style comments.
1999-08-06 13:11:44 +00:00
peter
cb8aeb3fd6
* V_Fatal=1, all other V_ are also increased
...
* Check for local procedure when assigning procvar
* fixed comment parsing because directives
* oldtp mode directives better supported
* added some messages to errore.msg
1999-08-05 16:52:53 +00:00
Jonas Maebe
ace7ff6983
* all tokens now start with an underscore
...
* PowerPC compiles!!
1999-08-04 13:02:40 +00:00
peter
771996a9db
* always output preprocstack when unexpected eof is found
...
* fixed tp7/delphi skipuntildirective parsing
1999-07-29 11:43:15 +00:00
peter
382d5bd835
* directives are allowed in (* *)
...
* fixed parsing of (* between conditional code
1999-07-24 11:20:59 +00:00
florian
046acfb84b
* made it compilable with Dlephi 4 again
...
+ fixed problem with large stack allocations on win32
1999-07-18 10:19:38 +00:00
pierre
5f05d07dcb
* previous wrong log corrected
1999-06-02 22:43:57 +00:00
pierre
35777a48a1
types.pas
1999-06-02 22:25:22 +00:00
pierre
2758e7c639
* problem with main file end without newline
1999-05-31 23:28:42 +00:00
peter
d4f4226806
* fixed line counting with macro's
1999-05-20 14:57:29 +00:00
florian
78d13ec796
* changes to compile it with Delphi 4.0
1999-05-04 21:44:30 +00:00
pierre
bc90408c3e
+ better preproc stack checking and report
1999-04-07 14:36:44 +00:00
peter
88ca7ef542
* more hashing for keyword table
1999-04-06 11:20:59 +00:00
peter
e0e2e44849
* '1.' is now parsed as a real
1999-04-01 22:05:59 +00:00
peter
8d0666bd79
* support also ^^
1999-03-26 19:10:06 +00:00
peter
6a802e85d7
* released valintern
...
+ deffile is now removed when compiling is finished
* ^( compiles now correct
+ static directive
* shrd fixed
1999-03-26 00:05:26 +00:00
peter
d0cb5a147a
* fixed bugs 212,222,225,227,229,231,233
1999-03-24 23:16:42 +00:00
peter
035ec8ca3b
* fixed old tp comment behaviour within directives
1999-03-16 21:00:27 +00:00
daniel
37c3308ca8
* Reverted C styled comments
1999-03-11 10:46:29 +00:00
peter
393433d095
* fixed nested comments for old style tp and c
1999-03-02 22:49:35 +00:00
florian
1941182a11
+ c styled comments
1999-02-02 00:15:09 +00:00
pierre
f7732dfcee
* give include file name on error
1999-01-27 13:05:41 +00:00
peter
f52b051f7d
* fixed eof bug with includefiles
1999-01-19 12:14:38 +00:00
peter
1b369bb4bb
+ globtype,tokens,version unit splitted from globals
1998-12-11 00:02:37 +00:00
peter
752857f403
* tp7 didn't like my ifopt H+ :(
1998-11-16 15:41:39 +00:00
peter
aace149d8c
* H+ fixes
1998-11-16 12:17:59 +00:00
peter
d84489d9b7
* recordtype.field support in constant expressions
...
* fixed imul for oa_imm8 which was not allowed
* fixed reading of local typed constants
* fixed comment reading which is not any longer a separator
1998-11-05 23:48:17 +00:00
peter
78990962b5
* don't check for endif if error
1998-11-03 11:35:02 +00:00
peter
8e363906e2
* beter line info for conditionals
1998-10-21 20:16:04 +00:00
daniel
e7013f1efd
* Faster keyword scanning.
...
* Import library and smartlink library in one file.
1998-10-16 14:20:53 +00:00
pierre
23b80f41dc
* close include files immediately after end reading
...
instead of waiting until unit compilation ended !
1998-10-15 12:22:23 +00:00
peter
ccae685b2b
* fixed inputfile^.name^ bug
1998-10-09 11:08:15 +00:00
pierre
7621dc0b56
* several memory leaks fixed
1998-10-09 08:56:21 +00:00
peter
0fc61cdfc1
* -vu shows unit info, -vt shows tried/used files
1998-10-08 23:28:50 +00:00
pierre
bf6369f1b5
* current_module old scanner tagged as invalid if unit is recompiled
...
+ added ppheap for better info on tracegetmem of heaptrc
(adds line column and file index)
* several memory leaks removed ith help of heaptrc !!
1998-10-08 17:17:07 +00:00
peter
c6dfe39b01
* EOF position is now correctly saved in aktfilepos
1998-10-08 13:45:25 +00:00
peter
226a917014
* fixed unit interdependency with circular uses
1998-09-30 16:43:34 +00:00
pierre
a12d8c9417
* changed all length(p^.value_str^) into str_length(p)
...
to get it work with and without ansistrings
* changed sourcefiles field of tmodule to a pointer
1998-09-28 16:57:09 +00:00
peter
d4ac5e456b
+ idtoken and only one token table
1998-09-26 17:45:30 +00:00
peter
8e85a889de
+ aktmodeswitches
1998-09-24 23:49:05 +00:00
florian
af83d90357
* some changes to compile with Delphi
1998-09-18 16:03:37 +00:00
peter
a0c582dc12
* merged fixes
1998-09-16 16:41:38 +00:00
peter
86a7e31743
+ (. and .) which are equal to [ and ]
1998-09-04 08:36:06 +00:00
peter
2f528ca8d9
* moved more inputfile things from tscannerfile to tinputfile
...
* changed ifdef Sourceline to cs_asm_source
1998-09-03 11:24:00 +00:00
peter
0382686875
* close also resets lastlinepos
1998-09-01 12:51:02 +00:00
peter
f0278f7ddd
* initialize all object variables in .init
1998-09-01 09:01:52 +00:00
peter
08f3c3dc77
* fixed freemem calls which had the wrong size sometimes
1998-08-29 13:49:00 +00:00
peter
547dca7111
* fixed scannerfiles for macros
...
+ $I %<environment>%
1998-08-26 15:35:30 +00:00
pierre
c051498168
* tokenpos has to be restored also after
...
printstatus
1998-08-20 16:09:55 +00:00
pierre
2d9cbf7fde
+ funcret setting in underproc testing
...
compile with _dTEST_FUNCRET
1998-08-20 09:26:37 +00:00
peter
273fc24dbb
* small fix for aktfilepos
1998-08-19 14:57:50 +00:00
pierre
6a556346ed
* bug about assigning the return value of a function to
...
a procvar fixed : warning
assigning a proc to a procvar need @ in FPC mode !!
* missing file/line info restored
1998-08-18 14:17:08 +00:00
peter
1af9338130
* auto close an open file and better error msg
1998-08-11 14:04:33 +00:00
peter
85c8a88cbe
+ localswitches, moduleswitches, globalswitches splitting
1998-08-10 14:49:33 +00:00
peter
6396267185
+ Compiler,Comphook unit which are the new interface units to the
...
compiler
1998-08-10 10:18:23 +00:00
michael
efa00172ac
No nested comments in Delphi mode.
1998-07-23 12:40:41 +00:00
florian
e770d0b0d2
* hex constants in numeric char (#$54#$43 ...) are now allowed
...
* there was a bug in record_var_dec which prevents the used
of nested variant records (for example drivers.tevent of tv)
1998-07-20 22:17:15 +00:00
peter
28f036c698
+ support for with p^do constructs
1998-07-14 21:38:13 +00:00
peter
1bffd4e290
* released NEWINPUT
1998-07-14 14:46:36 +00:00
peter
889203c8ba
* fixed realnumber scanning
...
* [] after asmblock was not uppercased anymore
1998-07-10 10:48:40 +00:00
peter
5e5e2fd78d
* fixed ttypesym bug finally
...
* fileinfo in the symtable and better using for unused vars
1998-07-09 23:59:59 +00:00
peter
b94116de16
* fixed {$I } with following eof
1998-07-07 17:39:38 +00:00
peter
34f5f72c53
* status.currentsource is now calculated in verbose (more accurated)
1998-07-07 12:32:54 +00:00
peter
911abb5abc
+ NEWINPUT for a better inputfile and scanner object
1998-07-07 11:19:50 +00:00
peter
97f61a43f4
* better bufferfile.reset error handling
1998-07-01 15:26:57 +00:00
florian
028721c4de
* first version of rtti support
1998-06-25 08:48:04 +00:00
peter
c2d5abdfed
+ targetcpu
...
* cleaner pmodules for newppu
1998-06-16 08:56:17 +00:00
peter
c614d62eaf
* working browser and newppu
...
* some small fixes against crashes which occured in bp7 (but not in
fpc?!)
1998-06-13 00:10:04 +00:00
pierre
390fc9063d
* column problem hopefully solved
...
+ C vars declaration changed
1998-06-12 10:32:22 +00:00