Robert Wilhelm
bf5f7a7b7b
vbscript: Support date and time literals.
...
Date literals, which are enclosed in number signs in vbscript,
will be lexed, pushed throught parser and compiler and
finally converted to VT_Date Variant in interpreter.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51503
Signed-off-by: Robert Wilhelm <robert.wilhelm@gmx.net>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-14 21:21:14 +02:00
Robert Wilhelm
a7c8499902
vbscript: Remove no longer used bool call_statement_t.is_strict member variable.
...
Signed-off-by: Robert Wilhelm <robert.wilhelm@gmx.net>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-27 21:59:40 +01:00
Robert Wilhelm
54740a5cb8
vbscript: Add is_default flag to function_decl_t.
...
Signed-off-by: Robert Wilhelm <robert.wilhelm@gmx.net>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-13 20:41:21 +02:00
Jacek Caban
c994118401
vbscript: Allow assignment left expression to be member expression.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-30 22:34:07 +01:00
Jacek Caban
eb73571fe9
vbscript: Pass parser error location to compiler.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:26:31 +01:00
Jacek Caban
b2de64eeed
vbscript: Use parser_error to set unhandled parser error.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:26:26 +01:00
Jacek Caban
21346c76b4
vbscript: Store source location in statement_t.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 09:26:19 +01:00
Jacek Caban
7e420a475e
vbscript: Add parser support for redim statement.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-01 20:30:05 +01:00
Jacek Caban
74ab018763
vbscript: Add support for parsing with statement.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-29 23:30:47 +01:00
Jacek Caban
fab9c49a6a
vbscript: Introduce separated struct for call expressions.
...
Instead of storing arguments in member expression struct.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-28 19:19:34 +01:00
Gabriel Ivăncescu
8037b13078
vbscript: Add support for the SCRIPTTEXT_ISEXPRESSION flag in ParseScriptText.
...
To simplify the amount of special cases both in ParseScriptText and
ParseProcedureText, add a new pseudo statement and opcode to return the
expression and value at the top of the stack, respectively. Script texts
that have this flag will be parsed specially as a single expression with
such a statement at the end.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-17 18:49:47 +02:00
Jacek Caban
9b18772c0b
vbscript: Rename OP_long expression to OP_int.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-22 21:56:15 +02:00
Jacek Caban
d01d629420
vbscript: Handle long/short distinction in interpreter.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-22 21:56:12 +02:00
Jacek Caban
3873c93891
vbscript: Allow omitting optional function parameters in call expressions.
2015-01-28 21:30:10 +01:00
Jacek Caban
82cace0f0e
vbscipt: Added beginning support for arrays as class members.
2014-03-07 14:34:40 +01:00
Jacek Caban
cf51435541
vbscript: Added parser support for arrays.
2013-11-13 18:30:45 +01:00
Piotr Caban
fb29bf7d2f
vbscript: Rename vbsheap to heap_pool.
2013-02-15 16:26:30 +01:00
Jacek Caban
290f563199
vbscript: Added support for HTML comments.
2012-10-18 19:21:24 +02:00
Jacek Caban
119c985cda
vbscript: Added parser support for select case statement.
2012-07-20 21:30:03 +02:00
Jacek Caban
e56a5907a3
vbscript: Added a hack for parameterized assignments with one argument.
2012-07-03 17:11:42 +02:00
Jacek Caban
8c1b9a01bf
vbscript: Added for each loop parser implementation.
2012-01-04 18:59:18 +01:00
Jacek Caban
ed53c40eda
vbscript: Added exit for statement support.
2011-09-22 16:33:33 +02:00
Jacek Caban
d935c21ccf
vbscript: Added for..to statement parser implementation.
2011-09-22 16:33:01 +02:00
Jacek Caban
eb5e97a67f
vbscript: Added const statement parser implementation.
2011-09-21 14:47:28 +02:00
Jacek Caban
6afc32c97d
vbscript: Added On Error statement parser implementation.
2011-09-19 18:32:50 +02:00
Jacek Caban
eef966faf7
vbscript: Added ME expression parser implementation.
2011-09-19 18:32:50 +02:00
Jacek Caban
2de6982f46
vbscript: Added is expression implementation.
2011-09-19 18:00:01 +02:00
Jacek Caban
beef095654
vbscript: Added more equality expressions parser/compiler implementation.
2011-09-19 17:59:41 +02:00
Jacek Caban
004210f1fb
vbscript: Added do..while and do..until statements implementation.
2011-09-16 17:23:16 +02:00
Jacek Caban
223a407a7f
vbscript: Added do until..loop statement implementation.
2011-09-16 17:23:16 +02:00
Jacek Caban
9701bdb563
vbscript: Added support for exit do statement.
2011-09-16 17:23:16 +02:00
Jacek Caban
1f5c56d1a8
vbscript: Added do while..loop statement implementation.
2011-09-16 17:23:16 +02:00
Jacek Caban
3d34925802
vbscript: Added while..wend statement implementation.
2011-09-16 17:23:16 +02:00
Jacek Caban
6c8c617df9
vbscript: Added support for exit property statement.
2011-09-16 17:23:14 +02:00
Jacek Caban
32f336bd9d
vbscript: Added getters/setters parser implementation.
2011-09-16 17:23:13 +02:00
Jacek Caban
117fd7c0e1
vbscript: Added class property parser implementation.
2011-09-16 17:23:13 +02:00
Jacek Caban
8de5db6030
vbscript: Added stop statement semi-stub implementation.
2011-09-15 19:13:15 +02:00
Jacek Caban
ee67bc7a37
vbscript: Added class functions parser implementation.
2011-09-15 19:13:10 +02:00
Jacek Caban
3862cdab4f
vbscript: Added function storage specifiers support.
2011-09-15 15:45:00 +02:00
Jacek Caban
8864c8dbae
vbscript: Added nothing literal parser/compiler implementation.
2011-09-15 15:44:44 +02:00
Jacek Caban
408a1bf682
vbscript: Added new expression parser/compiler implemetation.
2011-09-15 15:44:33 +02:00
Jacek Caban
b3a6217ed3
vbscript: Added set statement parser/compiler implementation.
2011-09-15 15:44:25 +02:00
Jacek Caban
80ad3a23fa
vbscript: Added class parser implementation.
2011-09-15 15:44:16 +02:00
Jacek Caban
43d10693ca
vbscript: Added xor, imp and eqv expressions parser/compiler implementation.
2011-09-14 17:00:19 +02:00
Jacek Caban
fae7352f93
vbscript: Added 'or' expression parser/compiler implementation.
2011-09-14 17:00:19 +02:00
Jacek Caban
69de07981a
vbscript: Added 'and' expression parser/compiler implementation.
2011-09-14 17:00:18 +02:00
Jacek Caban
1cefcdb6b7
vbscript: Added Exit Function statement implementation.
2011-09-14 17:00:18 +02:00
Jacek Caban
d04ba41aa9
vbscript: Added exit sub statement implementation.
2011-09-14 14:56:32 +02:00
Jacek Caban
d220dd291e
vbscript: Added sub statement parser implementation.
2011-09-14 14:55:49 +02:00
Jacek Caban
b5d8554f1e
vbscript: Added exp expression parser/compiler implementation.
2011-09-13 17:17:00 +02:00