summaryrefslogtreecommitdiffhomepage
path: root/tests/00_syntax/10_numeric_literals
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-11-12 18:56:45 +0100
committerJo-Philipp Wich <jo@mein.io>2020-11-12 18:56:45 +0100
commit225a2807f10ac02844eb2a7a65fdf7999a62ba66 (patch)
tree1d7a80adbd25096e9f55a0ee652d3286cb76de6a /tests/00_syntax/10_numeric_literals
parentc447e58ebf3b04f129009f642d5d1be4ca8cee92 (diff)
ast: simplify declaration AST structure
Do not emit dummy T_ASSIGN nodes for plain variable declarations without initialization (`let foo` or `local foo`). This also allows simplifying `ut_check_for_in()` since we only need to deal with one common structure for both `for (... in ...)` and `for (local ... in ...)` cases. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests/00_syntax/10_numeric_literals')
0 files changed, 0 insertions, 0 deletions