zbraniecki/l20n — Issue #13: l20n grammar: allow member_expression.ID and member_expression..ID
Author: fabi1cazenave
Created: 2012-02-05 13:17:44+00:00
State: open

The grammar currently states: ```
property_expression : member_expression WS? '[' WS? expression WS ']' | ID '.' ID;
attr_expression : member_expression WS? '[.' WS? expression WS ']' | ID '..' ID;
```

I think it should be something like:```
property_expression : member_expression WS? ('[' WS? expression WS? ']') | ('.' ID);
attr_expression : member_expression WS? ('[.' WS? expression WS? ']') | ('..' ID);
```