rokucommunity / brs

An interpreter for the BrightScript language that runs on non-Roku platforms.
MIT License
3 stars 2 forks source link

Numbers with more than one decimal point raise error #58

Open lvcabral opened 6 months ago

lvcabral commented 6 months ago

value = 1.2.5 will give the following error Expected newline or ':' after assignment even though it's valid brightscript code. The last part gets clipped off so wouldn't want to use this likely but also shouldn't give an error either. Same with:

value = {
    "test": 1.3.1.4
}

Gives `Unmatched '{' - expected '}' after associative array literal``