Skip to content

Block style conditional statements in actions #85

@ixti

Description

@ixti

Right now one need to write cond. stmts like this:

if (yytext.slice(-1) === '\\')
  yytext = yytext.substr(0, yyleng-1),
  do_more
else
  do_other;

it would be great to be able to use braces :))

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions