Restructure grammar rule for defaultValue and term
Renamed list
to termList
Changed
term
: Variable
| constantTerm
| list
;
to
term
: Variable
| constant
| termList
;
Changed
defaultValue
: '=' constant
| '=' constantList
;
to
defaultValue
: '=' constantTerm
;
Edited by Yiyao Chen