wcjohnson / lightscript

A futuristic fork of the LightScript language.
http://wcjohnson.github.io/lightscript
7 stars 0 forks source link

Invalid IIFE keywords in `if` expression alternate cases #117

Closed wcjohnson closed 4 years ago

wcjohnson commented 5 years ago

The code to handle invalid IIFE keywords is not being correctly applied when parsing the alternate of IfExpression

https://github.com/wcjohnson/lightscript-parser/blob/d79a496be36e96949b9f3e03adfd1788d3310358/src/plugins/lightscript/lscIf.lsc#L106

wcjohnson commented 5 years ago

This issue needs unit testing before it can be closed.