jcwild / ADRIFT-5

ADRIFT: Adventure Development & Runner - Interactive Fiction Toolkit
BSD 3-Clause "New" or "Revised" License
17 stars 9 forks source link

Extraneous commas in function calls within expressions cause hang #11

Open awlck opened 2 years ago

awlck commented 2 years ago

Expression function calls with stray commas cause the Runner to hang when evaluating them, rather than aborting with a 'Bad Expression' error.

To reproduce, make a location with the following description text:

<#Oneof("B", "C",)#>