diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-11-12 18:56:45 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-11-12 18:56:45 +0100 |
commit | 225a2807f10ac02844eb2a7a65fdf7999a62ba66 (patch) | |
tree | 1d7a80adbd25096e9f55a0ee652d3286cb76de6a /tests/00_syntax/10_numeric_literals | |
parent | c447e58ebf3b04f129009f642d5d1be4ca8cee92 (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