Neil Fraser
c0e14c3a7c
Add method to suppress prefix/suffix from blocks.
...
This allows generators to have more control over the placement of suffix. Needed for ‘if’ blocks and function calls which require their suffix code to be somewhere other than the end.
Also, add loop’s prefix to ‘break’ blocks, since the loop’s suffix will be the next statement hit.
Also, reuse procedures_callreturn generator for procedures_callnoreturn.
2019-05-14 17:19:31 -07:00
Neil Fraser
25adb40e66
Prefix and suffix edge cases for flow statements.
...
Call suffix code on break/continue before executing the break/continue.
Call prefix code for enclosing loop before executing continue.
2019-05-14 17:19:31 -07:00
Neil Fraser
0259f8bb48
Add extra suffix when generating if/return block.
...
Also fix loops in Lua.
2019-05-14 17:19:31 -07:00
Neil Fraser
c8bfc888c8
Throw errors instead of strings. ( #1974 )
...
Blocks and generators
2018-07-16 16:33:44 -07:00
Neil Fraser
cb26a13b00
Fix generators for deprecated controls_repeat block.
2015-09-07 19:42:22 -07:00
Neil Fraser
bafb3016fd
Remove duplicated generators.
2015-07-23 13:11:51 -07:00
Neil Fraser
1c39a638e3
Lint fixes.
2015-01-22 15:58:10 -08:00
Neil Fraser
6539211104
Change official project URL.
2014-10-07 13:09:55 -07:00
Neil Fraser
7122410373
Changing project location from Google Code to GitHub.
2014-09-08 15:18:02 -07:00
Neil Fraser
d998a1c8ec
Update to latest version.
2014-09-08 14:26:52 -07:00
ellen.spertus
6ee38cdec3
Automatic commit Tue Jan 28 03:00:09 PST 2014
2014-01-28 03:00:09 -08:00
ellen.spertus
bd778cdfea
Automatic commit Wed Jan 15 03:00:09 PST 2014
2014-01-15 03:00:09 -08:00
ellen.spertus
ea211c5080
Manual commit
2013-12-20 16:25:26 -08:00
ellen.spertus
a8acffd81c
New initial commit with .svn directories and their contents ignored.
2013-10-30 14:46:03 -07:00