r-koubou/KSPSyntaxParser

BUG - Array variable declaration

r-koubou opened this issue · 1 comments

EXPECT

declare const $size := 1*2+1  { operator includes }
declare %array[$size]         { OK }

or

declare const $size := 3      { Literal }
declare %array[$size]         { OK }

NOW

Built-in to VScode Extention v0.3.14(current version)

declare const $size := 1*2+1  { operator includes }
declare %array[$size]         { Parser Error: "%array: Invalid array size" }

or

declare const $size := 3      { Literal }
declare %array[$size]         { OK }

NOTE

This bug has been fixed on stable-20180315

However, Not applied to VSCode Extension yet.
It is going to be applied in a few days. (Work in progress)

Work in progress.
Branch: bug/issue_20180320