zbraniecki/l20n — Issue #15: L20n grammar: values should also count as literals
Author: stasm
Created: 2012-02-06 15:38:24+00:00
State: open

This is just a wording nit which I think doesn't change anything implementation-wise.

Currently:

primary_expression : literal | value | ID ;
literal : number ;
value : string | array | hash ;

Proposed:

primary_expression : literal | ID ;
literal : number | value ;
value : string | array | hash ;

This is so that we can call the following 5 characters `"foo"` a _string literal_. Same for array and hash literals.