Miroslav Puda
7149439ace
Replacement of empty() method by assertion.
2013-05-22 13:23:49 +02:00
Miroslav Puda
d5689730eb
Removal of unnecessary variable.
...
empty variable duplicates empty() method of std::string. Check for empty value should be replaced by assert since it does not makes much sense to call scanInt with null character.
2013-05-18 22:57:27 +02:00
Marc Zinnschlag
e2620a1edf
Issue #694 : allow float literals starting with .
2013-05-13 11:38:35 +02:00
scrawl
f0354ea04c
Fix member variable case problem
2013-05-04 19:14:19 +02:00
Marc Zinnschlag
fe038cef03
turned redeclartion of local variables from an error into a warning
2013-05-01 14:20:09 +02:00
Marc Zinnschlag
63407a662c
allow <== and >== as alternative for <= and >= in scripts
2013-05-01 14:08:05 +02:00
Marc Zinnschlag
90b38cbfbe
fixed parsing of end statements in scripts with IDs matching keywords
2013-04-27 14:06:23 +02:00
Marc Zinnschlag
6d3a2cd5a0
added comment token (for use in syntax colouring)
2013-04-11 10:50:22 +02:00
Marc Zinnschlag
74145410f2
basic syntax highlighting in script subview
2013-04-10 22:49:22 +02:00
Marc Zinnschlag
fd0aa1a4b8
Issue #685 : Treat : as a whitespace
2013-03-31 14:46:46 +02:00
Marc Zinnschlag
4711135e7f
workaround for faulty endif in Morrowind scripts
2013-03-18 12:05:54 +01:00
Marc Zinnschlag
46bde604f9
Issue #601 : unary minus was interpreted as binary minus when used in an argument list without comma
2013-03-17 17:13:25 +01:00
Marc Zinnschlag
151ecaad04
workaround for garbage after an end statement
2013-02-25 10:32:38 +01:00
eduard
2dc0064cc2
more string lowercase
2013-01-09 20:51:52 +01:00
guidoj
0549e949ba
Mostly removal of unnecessary #include's and a little clean up
2012-07-17 09:27:12 +02:00
Marc Zinnschlag
50d81e99fb
possible fix for script execution bug
2012-06-19 14:55:22 +02:00
Marc Zinnschlag
fe85de5ea7
Issue #181 : assignment to member variables
2012-06-16 14:29:55 +02:00
Marc Zinnschlag
10b27e582b
Issue #181 : various fixed to member variable access
2012-06-16 13:51:13 +02:00
Marc Zinnschlag
8b19de17b6
Iisue #181 : enable member variable access from expressions in console
2012-06-16 13:21:01 +02:00
Marc Zinnschlag
6c5b21fa42
Issue #181 : Member variable access in expressions; error reporting fix for the previous commit
2012-06-16 13:06:23 +02:00
Marc Zinnschlag
d1441d79e7
Issue #181 : added code generation for member variable access
2012-06-16 10:49:34 +02:00
Marc Zinnschlag
050559d2e2
Issue #181 : added member variable access token
2012-06-16 10:31:49 +02:00
Marc Zinnschlag
6ec2a2091c
Issue #305 : Allow the use of = as a synonym for ==
2012-06-07 12:16:03 +02:00
scrawl
c85c794c86
fixed some cppcheck issues
2012-06-06 20:29:30 +02:00
Marc Zinnschlag
01500e979a
another fix for optional arguments
2012-04-05 15:00:49 +02:00
Marc Zinnschlag
d9677cb33e
fixed problem with parsing optional string arguments
2012-03-18 14:27:49 +01:00
Marc Zinnschlag
187b8e58d6
fixed handling of optional instruction/function arguments; removed choice workaround
2012-03-17 19:32:44 +01:00
Marc Zinnschlag
5b378e820d
warning level adjustments and some related fixes
2012-03-15 16:01:41 +01:00
Marc Zinnschlag
861dc6a16e
redirecting output of expression evalutation to new report channel
2011-04-26 22:07:27 +02:00
Marc Zinnschlag
6848115c18
backend for tab completion: keywords
2011-01-12 18:24:00 +01:00
Pieter van der Kloet
dd4d022301
Converted all tabs to four spaces
2011-01-05 22:18:21 +01:00
Marc Zinnschlag
044bf0ab48
fixed parsing explicit references in the body of control structures
2010-08-30 14:44:23 +02:00
Marc Zinnschlag
c18e83d7c0
extended scripting extensions to code segment 3 (instructions and functions with optional arguments)
2010-08-22 14:00:30 +02:00
Marc Zinnschlag
b3cc3073a3
changed encoding of segment 3 opcodes (increasing the number of opcodes, while reducing the width of the argument)
2010-08-22 13:15:56 +02:00
Marc Zinnschlag
f4e79a48f0
implemented optional arguments
2010-08-22 12:47:56 +02:00
Marc Zinnschlag
276a9db6f7
added missing button implementation for MessageBox
2010-08-22 11:14:14 +02:00
Marc Zinnschlag
0d4f2ab3ef
disabled escape sequences in script strings (doesn't work with Windows paths)
2010-08-12 19:41:40 +02:00
Marc Zinnschlag
cf7150e585
implemented naked expressions in lineparser (used in console; result is send through messagebox interface)
2010-07-21 13:34:52 +02:00
Marc Zinnschlag
01edd8deb5
compiler exception class fixes
2010-07-21 10:57:21 +02:00
Marc Zinnschlag
0f742ce7f9
even better error checking for extensions with explicit references
2010-07-10 12:31:00 +02:00
Marc Zinnschlag
211b723137
better error checking for extensions with explicit references
2010-07-10 12:16:45 +02:00
Marc Zinnschlag
71c710f9f6
enhanced compiler extenion system to support new instructions and functions with explicit references
2010-07-09 22:01:24 +02:00
Marc Zinnschlag
69e607e140
implemented getdistance with explicit references
2010-07-09 20:55:39 +02:00
Marc Zinnschlag
c37b007be0
added verification for explicit references (check if the given ID exists)
2010-07-09 20:35:34 +02:00
Marc Zinnschlag
d4ac3b506e
implemented enable, disable and getdisabled with explicit references
2010-07-09 19:32:17 +02:00
Marc Zinnschlag
5a1dd4fedd
fixed fileparser bug (empty line before the initial begin statement were not handled correctly
2010-07-09 18:21:16 +02:00
Marc Zinnschlag
592fa84e2d
added Enable, Disable, GetDisabled
2010-07-09 16:07:03 +02:00
Marc Zinnschlag
9d73718ec1
added GetSecondsPassed
2010-07-06 12:06:50 +02:00
Marc Zinnschlag
85cd744f44
fixed a stringparser bug
2010-07-05 13:33:17 +02:00
Marc Zinnschlag
b28a6fd7b8
modified parser to skip over button arguments in an messagebox instruction
2010-07-05 13:21:08 +02:00