summaryrefslogtreecommitdiff
path: root/src/ast/script.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/script.hpp')
-rw-r--r--src/ast/script.hpp4
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);