Commit Graph

90 Commits

Author SHA1 Message Date
Mattias Gaertner
49115a4199 pastojs: added test for generating sourcemap
git-svn-id: trunk@37236 -
2017-09-17 19:58:59 +00:00
Mattias Gaertner
df00b30f92 pastojs: static array const
git-svn-id: trunk@37204 -
2017-09-14 07:55:35 +00:00
Mattias Gaertner
c586767de9 pastojs: call constructor without params, add default params
git-svn-id: trunk@37198 -
2017-09-13 11:52:23 +00:00
Mattias Gaertner
1057f7968e pastojs: fixed aString[1+2]:=
git-svn-id: trunk@37194 -
2017-09-12 11:06:25 +00:00
Mattias Gaertner
55b2a266d7 pastojs: implemented staticarray[char]
git-svn-id: trunk@37175 -
2017-09-10 20:05:32 +00:00
Mattias Gaertner
08e85ea6c5 fcl-passrc: resolver: static array[bool]
git-svn-id: trunk@37171 -
2017-09-10 18:48:01 +00:00
Mattias Gaertner
339560f4b9 pastojs: fixed adding local and global const in order
git-svn-id: trunk@37168 -
2017-09-10 15:59:03 +00:00
Mattias Gaertner
4bd77800cb pastojs: low(), high(), [] for static array with integer range
git-svn-id: trunk@37165 -
2017-09-10 15:08:27 +00:00
Mattias Gaertner
9a2736abcb pastojs: implemented typeinfo for record member:arrayf of type
git-svn-id: trunk@37147 -
2017-09-05 16:34:42 +00:00
Mattias Gaertner
78e1047ce2 pastojs: allow assign any constant to jsvalue
git-svn-id: trunk@37115 -
2017-09-02 16:46:35 +00:00
Mattias Gaertner
0088673d13 pastojs: @@ operator
git-svn-id: trunk@37111 -
2017-09-02 14:42:04 +00:00
Mattias Gaertner
e54f02048f pastojs: fixed tests
git-svn-id: trunk@37088 -
2017-08-31 13:18:04 +00:00
Mattias Gaertner
4a588fcbc2 pastojs: error on var absolute
git-svn-id: trunk@36811 -
2017-07-28 17:50:52 +00:00
Mattias Gaertner
b884ab31fa pastojs: use strict equal when converting equal
git-svn-id: trunk@36721 -
2017-07-10 17:38:49 +00:00
Mattias Gaertner
b5b58fd34c fcl-passrc: scanner: fixed column starting at 1
git-svn-id: trunk@36670 -
2017-07-07 19:40:23 +00:00
Mattias Gaertner
5e409ff349 pastojs+pparser: fixed copying last line of asm..block with option po_asmwhole
git-svn-id: trunk@36650 -
2017-07-05 20:33:48 +00:00
Mattias Gaertner
8cd56fb9be pastojs: fixed tests
git-svn-id: trunk@36649 -
2017-07-05 19:58:16 +00:00
Mattias Gaertner
bff64521b3 pastojs: error on nested type, bug #31983
git-svn-id: trunk@36460 -
2017-06-08 21:27:11 +00:00
Mattias Gaertner
fbdd04b8ab pastojs: typecast jsvalue to record, bug #31982
git-svn-id: trunk@36459 -
2017-06-08 21:17:15 +00:00
Mattias Gaertner
e552db6ef6 pastojs: fixed compilation
git-svn-id: trunk@36319 -
2017-05-25 10:48:14 +00:00
Mattias Gaertner
a328f8df3d pastojs: with localvar do
git-svn-id: trunk@36242 -
2017-05-18 09:34:54 +00:00
Mattias Gaertner
0464f1f68c pastojs: implemented TObject.Free
git-svn-id: trunk@36236 -
2017-05-17 08:25:33 +00:00
Mattias Gaertner
65d14ace38 pastojs: test invalid mode and modeswitch
git-svn-id: trunk@36172 -
2017-05-10 09:35:38 +00:00
Mattias Gaertner
b687247256 fcl-passrc: scanner: added property ReadOnlyModeSwitches
git-svn-id: trunk@36154 -
2017-05-08 12:22:48 +00:00
Mattias Gaertner
4305ffcfa3 pastojs: implemented dotted unit reference
git-svn-id: trunk@36118 -
2017-05-05 14:20:10 +00:00
Mattias Gaertner
8ad6588e46 pastojs: fixed tests
git-svn-id: trunk@36070 -
2017-05-03 15:26:22 +00:00
Mattias Gaertner
142d95e0d2 pastojs: implemented SetLength(string,int)
git-svn-id: trunk@36037 -
2017-05-01 14:36:30 +00:00
Mattias Gaertner
a4e26a7222 pastojs: implemented inc/dec for var/out arg
git-svn-id: trunk@36035 -
2017-05-01 13:32:30 +00:00
Mattias Gaertner
89b839d341 pastojs: set Scanner.AllowedModeSwitches
git-svn-id: trunk@35939 -
2017-04-24 16:58:08 +00:00
Mattias Gaertner
a437e6ff5d pastojs: overload distance for jsvalue
git-svn-id: trunk@35932 -
2017-04-24 10:57:09 +00:00
Mattias Gaertner
67369fabd8 pastojs: simplified and more tests
git-svn-id: trunk@35927 -
2017-04-23 19:53:37 +00:00
Mattias Gaertner
f95be9c80d pastojs: class in implementation
git-svn-id: trunk@35919 -
2017-04-23 14:15:19 +00:00
Mattias Gaertner
161ebef6b2 pastojs: fixed converting index element of external class bracket accessor
git-svn-id: trunk@35917 -
2017-04-23 13:29:07 +00:00
Mattias Gaertner
f786d3deab pastojs: added test dynarray const
git-svn-id: trunk@35911 -
2017-04-23 11:27:21 +00:00
Mattias Gaertner
c9376c3c71 pastojs: external var in implementation
git-svn-id: trunk@35908 -
2017-04-23 07:44:39 +00:00
Mattias Gaertner
b4a4ad725c pastojs: fixed exit in program begin-end
git-svn-id: trunk@35905 -
2017-04-22 15:53:07 +00:00
Mattias Gaertner
92af835850 pastojs: always write catch($e), needed by nodejs
git-svn-id: trunk@35903 -
2017-04-22 15:42:54 +00:00
Mattias Gaertner
9464a009a8 pastojs: if jsvalue then, while jsvalue do, repeat until jsvalue
git-svn-id: trunk@35888 -
2017-04-22 09:16:37 +00:00
Mattias Gaertner
7cb1159f13 pastojs: typeinfo of function result, Result and Self
git-svn-id: trunk@35873 -
2017-04-21 12:39:31 +00:00
Mattias Gaertner
10df48a129 pastojs: rtti nativeint
git-svn-id: trunk@35871 -
2017-04-21 09:10:05 +00:00
Mattias Gaertner
798c1c71e6 pastojs: fixed typeinfo arg dyn array
git-svn-id: trunk@35867 -
2017-04-20 21:16:58 +00:00
Mattias Gaertner
db6e47a22c pastojs: typeinfo(classofvar)
git-svn-id: trunk@35864 -
2017-04-20 18:14:02 +00:00
Mattias Gaertner
13bc0cfdd6 pastojs: typeinfo(classof)
git-svn-id: trunk@35862 -
2017-04-20 15:28:39 +00:00
Mattias Gaertner
6d2dbb564c pastojs: show jsvalue ninstead of custom in incompatible type messages
git-svn-id: trunk@35854 -
2017-04-19 20:13:13 +00:00
Mattias Gaertner
511339d70a pastojs: check only allowed basetypes
git-svn-id: trunk@35852 -
2017-04-19 18:39:09 +00:00
Mattias Gaertner
efe23d612b pastojs: proc type reference-to
git-svn-id: trunk@35847 -
2017-04-19 13:30:46 +00:00
Mattias Gaertner
3f3f921b18 pastojs: eopPower
git-svn-id: trunk@35845 -
2017-04-18 22:49:35 +00:00
Mattias Gaertner
dd9630b1d7 pastojs: external names can be char
git-svn-id: trunk@35843 -
2017-04-18 21:37:34 +00:00
Mattias Gaertner
e47747380e pastojs: local vars $mod and self, no createCallBack for procs, nested inherited
git-svn-id: trunk@35840 -
2017-04-18 20:31:50 +00:00
Mattias Gaertner
1b07db5a08 fppas2js: fixed compilation, due to changes in resolver
git-svn-id: trunk@35828 -
2017-04-18 07:46:45 +00:00