TAB()/SPC() should have implicit trailing ;

Also add docs.

Fixes #34
This commit is contained in:
Joshua Bell
2020-05-29 20:41:22 -07:00
parent af0a7eb886
commit dca4875d3d
3 changed files with 8 additions and 5 deletions

View File

@@ -1895,7 +1895,7 @@ this.basic = (function() {
trailing = false;
args.push('lib.comma()');
} else if (test('reserved', kws.SPC) || test('reserved', kws.TAB)) {
trailing = true;
trailing = false;
keyword = match('reserved');
match("operator", "(");
expr = parseNumericExpression();