Commit Graph

53394 Commits

Author SHA1 Message Date
michael
e4ca90ba1f * Fix warnings, read <keyword> for gobble keywords
git-svn-id: trunk@38874 -
2018-04-30 07:14:04 +00:00
michael
09e45aabfd * Attempt to generate less empty lines
git-svn-id: trunk@38873 -
2018-04-30 06:41:15 +00:00
Mattias Gaertner
7db9ac914f fcl-passrc: $Writeableconst
git-svn-id: trunk@38872 -
2018-04-29 23:34:36 +00:00
Mattias Gaertner
b1b6b52842 fcl-passrc: added bool flag $PointerMath
git-svn-id: trunk@38871 -
2018-04-29 22:42:16 +00:00
Mattias Gaertner
994167481d pas2js: docs: record const
git-svn-id: trunk@38870 -
2018-04-29 19:26:57 +00:00
Mattias Gaertner
01ccfbcf61 pastojs: record const
git-svn-id: trunk@38869 -
2018-04-29 19:26:45 +00:00
Mattias Gaertner
70b4a4b9a5 fcl-passrc: resolver: record const
git-svn-id: trunk@38868 -
2018-04-29 19:26:31 +00:00
Mattias Gaertner
6bab0e1892 fcl-passrc: added TRecordValuesItems.NameExp
git-svn-id: trunk@38867 -
2018-04-29 19:26:20 +00:00
marco
64d8f26b38 * more compiler suffix fixes, mantis #33606, Aarch64 and m68k
git-svn-id: trunk@38866 -
2018-04-29 14:08:00 +00:00
marco
8c854cedee * more case fixes, mantis #32832 manually done.
git-svn-id: trunk@38865 -
2018-04-29 14:05:09 +00:00
Jonas Maebe
8da8b956b0 * discard type conversions from/to generic defs for llvm as well
git-svn-id: trunk@38864 -
2018-04-28 16:17:45 +00:00
Jonas Maebe
eaafb166ad * set totypedef correctly when converting @class.classmethod to a procvar
of object in FPC mode (for llvm)

git-svn-id: trunk@38863 -
2018-04-28 16:17:41 +00:00
Jonas Maebe
807fcb3371 * support pasbool8 as type for a record field when a record is passed/
returned in multiple registers (llvm)

git-svn-id: trunk@38862 -
2018-04-28 16:17:37 +00:00
svenbarth
afbbd22544 - the labtree argument is no longer needed
git-svn-id: trunk@38861 -
2018-04-27 21:09:09 +00:00
svenbarth
cfa373a8cf * fix case of string with ranges as labels
+ add test

git-svn-id: trunk@38860 -
2018-04-27 21:06:33 +00:00
Jonas Maebe
52e7678033 * ensure that load nodes only substitute temps in case both references point
to the start of their respective temps

git-svn-id: trunk@38859 -
2018-04-27 19:18:59 +00:00
Jonas Maebe
d69ad8fa41 * removed temppos field again from parameter locations: they're not allocated
by the temp manager of the current procedure

git-svn-id: trunk@38858 -
2018-04-27 19:18:55 +00:00
svenbarth
d8dd8d9978 + add test for Mantis #33635 which was fixed by r38856
git-svn-id: trunk@38857 -
2018-04-27 15:23:46 +00:00
svenbarth
e3ea46d1cb * disable SSE optimized Frac() for Win64; it has a much lower supported range than the existing Pascal implementation which uses Int() (in essence Round() and Trunc() should be corrected as well)
git-svn-id: trunk@38856 -
2018-04-27 15:18:36 +00:00
nickysn
8a32d7c663 + also support constants like 'dd [5]' in the intel syntax inline asm (for BP7
compatibility)

git-svn-id: trunk@38855 -
2018-04-27 11:21:51 +00:00
nickysn
a8a627f334 - removed the _count_asmdirectives and _count_asmoperators constants from the
rax86int unit. Instead, the _asmoperators and _asmdirectives arrays now use
  tasmtoken directly as index.

git-svn-id: trunk@38854 -
2018-04-27 11:02:54 +00:00
Mattias Gaertner
b6f50c9847 pas2js: docs: type alias type
git-svn-id: trunk@38853 -
2018-04-27 08:45:36 +00:00
Mattias Gaertner
3f0d3af123 pastojs: type alias type
git-svn-id: trunk@38852 -
2018-04-27 08:45:16 +00:00
Mattias Gaertner
20199d3903 fcl-passrc: resolver: type alias type
git-svn-id: trunk@38851 -
2018-04-27 08:45:00 +00:00
nickysn
16e0172021 + partial support for BP7 reference-like inline asm constants
git-svn-id: trunk@38850 -
2018-04-26 14:31:13 +00:00
nickysn
d1fc31de94 + add support for '[' and ']' parenthesis in addition to '(' and ')' in
rautils.TExprParse. They behave exactly like '(' and ')'. However, you cannot
  nest '(' with ']' and '[' with ')'. This is introduced in order to help
  implementing support for BP7 asm constants that are parsed like references,
  e.g. 'dd Rec.Str[5]' or 'dd 5[7]'.

git-svn-id: trunk@38849 -
2018-04-26 14:13:30 +00:00
Károly Balogh
c840c4d6a8 athreads: add a custom API to retrieve underlying process ID from AThreads. this makes it possible to combine some Amiga API features like Signaling with FPC's thread handling
git-svn-id: trunk@38848 -
2018-04-26 11:28:38 +00:00
Mattias Gaertner
8422cc8add pas2js: version 0.9.18
git-svn-id: trunk@38847 -
2018-04-26 08:15:36 +00:00
Mattias Gaertner
47b350947f pas2js: added hexstr
git-svn-id: trunk@38846 -
2018-04-26 08:12:55 +00:00
michael
0adfb4fb02 * Fix bug ID #33651
git-svn-id: trunk@38845 -
2018-04-26 07:08:41 +00:00
Mattias Gaertner
6d0e3d135c pa2js: version 0.9.17
git-svn-id: trunk@38844 -
2018-04-25 21:13:39 +00:00
Mattias Gaertner
0fd731efc5 pastojs: docs: typecast int(int)
git-svn-id: trunk@38843 -
2018-04-25 13:37:39 +00:00
Mattias Gaertner
80b008b76d pastojs: typecast int(int)
git-svn-id: trunk@38842 -
2018-04-25 12:47:20 +00:00
Mattias Gaertner
2750a0010c fcl-passrc: resolver: GetElementSourcePos for intrinsic
git-svn-id: trunk@38841 -
2018-04-25 00:24:00 +00:00
Mattias Gaertner
f8ebe44fd0 pastojs: new(out ^record), dispose(^record)
git-svn-id: trunk@38840 -
2018-04-24 23:38:44 +00:00
Mattias Gaertner
2f4af745d9 fcl-passrc: resolver: new(out ^record), dispose(^record)
git-svn-id: trunk@38839 -
2018-04-24 23:38:24 +00:00
Mattias Gaertner
3bc75e6627 pastojs: test range check string[] by reference
git-svn-id: trunk@38838 -
2018-04-24 20:20:31 +00:00
Mattias Gaertner
3c4b206bc5 fcl-passrc: resolver: check duplicate case labels
git-svn-id: trunk@38837 -
2018-04-24 20:19:53 +00:00
Jonas Maebe
5ca8893987 * fixed temppos of loaded nested variables: invalid rather than the temppos
in their parent frame (mantis #33636)

git-svn-id: trunk@38836 -
2018-04-24 19:28:20 +00:00
Mattias Gaertner
1215cafb4e pastojs: range check string index
git-svn-id: trunk@38835 -
2018-04-24 18:01:53 +00:00
Mattias Gaertner
268ffcb854 pastojs: range check array index
git-svn-id: trunk@38834 -
2018-04-24 17:42:31 +00:00
nickysn
74f5436563 * also replaced the 3 boolean output parameters of tx86intreader.BuildConstSymbolExpression with a set
git-svn-id: trunk@38833 -
2018-04-24 15:40:37 +00:00
nickysn
e05c0d0168 * replaced the 3 boolean input parameters of tx86intreader.BuildConstSymbolExpression with a set
git-svn-id: trunk@38832 -
2018-04-24 14:59:39 +00:00
Mattias Gaertner
65ae09a914 pastojs: range check char:=, char parameter
git-svn-id: trunk@38831 -
2018-04-24 11:51:49 +00:00
nickysn
0f0a326bb7 * update revision.inc
git-svn-id: trunk@38830 -
2018-04-24 11:34:20 +00:00
Mattias Gaertner
3bf1c1560f pastojs: range check enums, int ranges, enum ranges
git-svn-id: trunk@38829 -
2018-04-24 10:23:04 +00:00
Mattias Gaertner
e6513d6883 fcl-passrc: resolver: range check on: warnings becomes errors
git-svn-id: trunk@38828 -
2018-04-24 10:22:45 +00:00
michael
fcfe99d505 * Propagate font changes (bug ID 0033455)
git-svn-id: trunk@38827 -
2018-04-24 07:05:35 +00:00
Mattias Gaertner
63032c796f pas2js: docs
git-svn-id: trunk@38826 -
2018-04-23 17:25:14 +00:00
Mattias Gaertner
d2131e360f pastojs: for key in jsvalue do, for key in jsobject do
git-svn-id: trunk@38825 -
2018-04-23 17:22:59 +00:00