diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-11-03 13:35:54 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-11-04 20:10:50 -0800 |
commit | 1853e964e96c41e762ca0ab97259ee4e79d86ec7 (patch) | |
tree | edc76f58ed786263a28da79564786f4d75400092 /src/ast/script.hpp | |
parent | 1a00fe4ea75924bfe594c4d92073cc95eaa2f32d (diff) | |
download | tmwa-1853e964e96c41e762ca0ab97259ee4e79d86ec7.tar.gz tmwa-1853e964e96c41e762ca0ab97259ee4e79d86ec7.tar.bz2 tmwa-1853e964e96c41e762ca0ab97259ee4e79d86ec7.tar.xz tmwa-1853e964e96c41e762ca0ab97259ee4e79d86ec7.zip |
Use the new ASTs
Diffstat (limited to 'src/ast/script.hpp')
-rw-r--r-- | src/ast/script.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ast/script.hpp b/src/ast/script.hpp index da43f90..74b11e1 100644 --- a/src/ast/script.hpp +++ b/src/ast/script.hpp @@ -51,6 +51,10 @@ namespace script bool implicit_end = false; // forbid newlines anywhere between { and } bool one_line = false; + // forbid the OnTouch event + bool no_touch = false; + // forbid all events + bool no_event = false; }; Result<ScriptBody> parse_script_body(io::LineCharReader& lr, ScriptOptions opt); |