summaryrefslogtreecommitdiffhomepage
path: root/ast.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-11-03 23:33:30 +0100
committerJo-Philipp Wich <jo@mein.io>2020-11-05 21:53:23 +0100
commitfeb815bc1a058b91eed9dea3c5cad8ea52d51806 (patch)
treea2fa20ccf392b82e7704545229f614f4026799cd /ast.h
parent940a89bd5cc1a04dbff4379b02d559982b4febd4 (diff)
syntax: implement ES6-like arrow function syntax
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ast.h b/ast.h
index da304c7..864e5f9 100644
--- a/ast.h
+++ b/ast.h
@@ -59,6 +59,7 @@ struct ut_op {
uint16_t is_reg_newline:1;
uint16_t is_reg_global:1;
uint16_t is_ellip:1;
+ uint16_t is_arrow:1;
uint32_t off;
struct json_object *val;
union {