Commit Graph

132 Commits

Author SHA1 Message Date
peter
f6eaa4c02b * allow subtypes for enums 2000-12-10 20:24:18 +00:00
florian
b9796f6a7f * unused units removed from uses clause
* some changes for widestrings
2000-11-29 00:30:30 +00:00
florian
d5a2d64cf5 * fixed two bugs to get make cycle work, but it's not enough 2000-11-06 15:54:15 +00:00
florian
51527ba1c9 + merged Attila's changes for interfaces, not tested yet 2000-11-04 14:25:19 +00:00
peter
451723647e * symtable splitted, no real code changes 2000-10-31 22:02:46 +00:00
peter
e171f341a0 * moehrendorf oct 2000 rewrite 2000-10-14 10:14:45 +00:00
peter
084e294150 * const array of char and pchar length fixed (merged) 2000-09-30 13:23:04 +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
cc4fed6303 * allow nil for class typed consts (merged) 2000-08-24 19:13:18 +00:00
florian
244fc53520 + support of 64 bit integer constants 2000-08-16 13:06:06 +00:00
peter
e955ac6135 * packenum 1 fixes (merged) 2000-08-05 13:25:06 +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
Jonas Maebe
3ca96dd897 * ansistring constants now also get a trailing #0 (bug reported by
Thomas Schatzl)
2000-06-06 13:06:17 +00:00
peter
6029115a7d * add support for loading of typed const strings with resourcestrings,
made the loading also a bit more generic
2000-05-17 17:10:06 +00:00
pierre
a77b264bd0 * * get it to compile with Delphi by Kovacs Attila Zoltan 2000-05-12 05:55:04 +00:00
pierre
e0328653f1 + add a warning if a const string is longer than the
length of the string type
2000-05-11 09:15:12 +00:00
florian
fcf5315f23 + constant procedure variables can have a @ in front:
const p : procedure = @p;
    til now only
       const p : procedure = p;
    was allowed
2000-04-02 09:12:51 +00:00
Jonas Maebe
0ab87d5ed8 * modifications to make the compiler functional when compiled with
-Or
2000-02-13 14:21:50 +00:00
peter
4a4a24b6e8 * log truncated 2000-02-09 13:22:42 +00:00
peter
e525797c51 * updated copyright to 2000 2000-01-07 01:14:18 +00:00
florian
89c403c529 * very basic widestring support 1999-12-18 14:54:34 +00:00
peter
0512ba80fb + ttype, tsymlist 1999-11-30 10:40:42 +00:00
florian
08a34c6308 * disposetree for classrefdef added 1999-11-08 18:50:11 +00:00
pierre
a4926e2d26 * missing disposetree added to avoid memory loss 1999-11-08 16:24:28 +00:00
florian
7265215469 * problem with "index X"-properties solved
* typed constants of class references are now allowed
1999-11-08 14:02:16 +00:00
peter
0887060ff2 * truncated log to 20 revs 1999-11-06 14:34:16 +00:00
florian
fa19f0aa09 - removed the hcodegen use in the new cg, use cgbase instead 1999-10-14 14:57:51 +00:00
peter
2687d75c38 + constant pointer support which can happend with typecasting like
const p=pointer(1)
  * better procvar parsing in typed consts
1999-09-26 21:30:15 +00:00
pierre
e5df050607 * avoid unused locals 1999-08-10 12:30:00 +00:00
Jonas Maebe
ace7ff6983 * all tokens now start with an underscore
* PowerPC compiles!!
1999-08-04 13:02:40 +00:00
florian
ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 1999-08-04 00:22:34 +00:00
peter
ed8eb13d59 * moved bitmask constants to sets
* some other type/const renamings
1999-08-03 22:02:29 +00:00
peter
07bb58295b * alignment is now saved in the symtable
* C alignment added for records
  * PPU version increased to solve .12 <-> .13 probs
1999-07-23 16:05:18 +00:00
florian
3eae7ee6fb + start of val(int64/qword)
* longbool, wordbool constants weren't written, fixed
1999-07-03 14:14:27 +00:00
peter
0b272f13c7 * removed oldasm
* plabel -> pasmlabel
  * -a switches to source writing automaticly
  * assembler readers OOPed
  * asmsymbol automaticly external
  * jumptables and other label fixes for asm readers
1999-05-27 19:43:55 +00:00
florian
6b33f4d87d * better error recovering in typed constants
* some problems with arrays of const fixed, some problems
    due my previous
     - the location type of array constructor is now LOC_MEM
     - the pushing of high fixed
     - parameter copying fixed
     - zero temp. allocation removed
  * small problem in the assembler writers fixed:
    ref to nil wasn't written correctly
1999-05-23 18:41:55 +00:00
peter
bfed29ff8b * NEWLAB for label as symbol 1999-05-21 13:54:38 +00:00
peter
bc903063c1 * removed R_DEFAULT_SEG
* uniform float names
1999-05-12 00:19:34 +00:00
peter
1c96916943 * generic write_float and str_float
* fixed constant float conversions
1999-05-06 09:05:05 +00:00
peter
611da2d24e * merged nasm compiler
* old asm moved to oldasm/
1999-05-01 13:23:57 +00:00
pierre
b5dc3cc64d + code for initialized vars in Delphi mode 1999-04-25 22:42:16 +00:00
peter
d0cb5a147a * fixed bugs 212,222,225,227,229,231,233 1999-03-24 23:16:42 +00:00
peter
c8f444b65f * ag386bin updates
+ coff writer
1999-02-25 21:02:16 +00:00
peter
5befcfad1e * ag386bin doesn't use i386.pas anymore 1999-02-22 02:44:07 +00:00
peter
014f866939 * fixed error messages when parsing typed const array 1999-02-17 10:15:26 +00:00
pierre
debe89f4e7 * fix to bug0191 1999-01-20 14:09:28 +00:00
florian
d15d426756 * mainly problem with invalid case ranges fixed (reported by Jonas) 1999-01-05 08:19:59 +00:00
peter
c7230805a2 * fixed const s : ^string
* first things for const pchar : @string[1]
1998-12-15 17:16:00 +00:00
florian
1b4cf9afb5 + typed const int64 and qword
+ unary minus-operator  q1:=-q2;
  + not-operator
1998-12-11 16:50:22 +00:00
peter
1b369bb4bb + globtype,tokens,version unit splitted from globals 1998-12-11 00:02:37 +00:00
peter
162124d10c * give error when string[0] decl is found 1998-11-27 14:34:41 +00:00
pierre
c921c95996 * fix for bug0182 1998-11-23 18:26:44 +00:00
peter
dabc19f0ff * H+ fixes 1998-11-17 10:40:15 +00:00
peter
c1b0142c1a - generate_pascii which is obsolete 1998-11-16 12:12:21 +00:00
peter
a3d398082e * fixed const string 1998-11-10 17:53:06 +00:00
peter
2ce832e18e * fixed const pchar 1998-11-10 16:10:47 +00:00
peter
3037445491 * released useansistring
* removed -Sv, its now available in fpc modes
1998-11-05 12:02:30 +00:00
peter
de4cf49059 * ansistring fixes 1998-11-04 10:11:36 +00:00
pierre
1a77339355 * several memory corruptions due to double freemem solved
=> never use p^.loc.location:=p^.left^.loc.location;
  + finally I added now by default
    that ra386dir translates global and unit symbols
  + added a first field in tsymtable and
    a nextsym field in tsym
    (this allows to obtain ordered type info for
    records and objects in gdb !)
1998-10-20 08:06:37 +00:00
pierre
a5f0168fbb * wrong stabs info corrected once again !!
+ variable vmt offset with vmt field only if required
    implemented now !!!
1998-10-19 08:54:53 +00:00
peter
acf9818648 + target_os.stackalignment
+ stack can be aligned at 2 or 4 byte boundaries
1998-10-16 08:51:45 +00:00
pierre
9ec2dfaf4a + added tai_const_symbol_offset
for r : pointer = @var.field;
  * better message for different arg names on implementation
    of function
1998-10-12 12:20:37 +00:00
florian
e05ec93224 + support of <procedure var type>:=<pointer> in delphi mode added 1998-10-12 09:49:53 +00:00
pierre
7621dc0b56 * several memory leaks fixed 1998-10-09 08:56:21 +00:00
peter
8e85a889de + aktmodeswitches 1998-09-24 23:49:05 +00:00
peter
12a80cf3dc * update smartlinking, uses getdatalabel
* renamed ptree.value vars to value_str,value_real,value_set
1998-09-07 18:45:52 +00:00
peter
58c2d999f0 * updated some error messages 1998-09-04 08:41:36 +00:00
peter
fdc07d7e67 * fixed string[4]='.library' 1998-09-01 09:05:36 +00:00
peter
35a8d2e4fd * m68k and palmos updates from surebugfixes 1998-08-31 12:26:20 +00:00
peter
85c8a88cbe + localswitches, moduleswitches, globalswitches splitting 1998-08-10 14:49:33 +00:00
florian
b47f848f8d * bug0147 fixed 1998-07-21 11:16:25 +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
florian
a824e04fc5 * handling of ansi string constants should now work 1998-07-20 18:40:10 +00:00
florian
206549900f * some ansi/wide/longstring support fixed:
o parameter passing
     o returning as result from functions
1998-07-18 22:54:23 +00:00
peter
f98459e1fb * smartlinking works for win32
* some defines to exclude some compiler parts
1998-06-08 22:59:41 +00:00
peter
d6268ae22f + wordbool,longbool
* rename bis,von -> high,low
  * moved some systemunit loading/creating to psystem.pas
1998-06-03 22:48:50 +00:00
florian
a965360572 * problems with properties fixed
* crash fixed:  i:=l when i and l are undefined, was a problem with
    implementation of private/protected
1998-05-05 12:05:42 +00:00
pierre
5cdd60cac8 + added some code for ansistring (not complete nor working yet)
* corrected operator overloading
  * corrected nasm output
  + started inline procedures
  + added starstarn : use ** for exponentiation (^ gave problems)
  + started UseTokenInfo cond to get accurate positions
1998-04-29 10:33:40 +00:00
pierre
c937f63b10 * bugfixes for reset_gdb_info
in MEM parsing for go32v2
    better external symbol creation
    support for rhgdb.exe (lowercase file names)
1998-04-07 13:19:42 +00:00
root
d1a1f501c8 Initial revision 1998-03-25 11:18:12 +00:00