diff options
| author | Kathy Gray | 2013-08-22 15:17:06 +0100 |
|---|---|---|
| committer | Kathy Gray | 2013-08-22 15:17:06 +0100 |
| commit | 86b3a50f56dd38999fa8eca7375fbd59d29603cb (patch) | |
| tree | cb2e4da94e71d5db5c9c6d0b6a6c033e05db64aa /language | |
| parent | f3b7dba070562940427405b92b3c47cc29ee2a51 (diff) | |
Pretty printer for whole AST; due to parenthesis not always being placed where needed, what is generated may not parse
Diffstat (limited to 'language')
| -rw-r--r-- | language/l2.ott | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/language/l2.ott b/language/l2.ott index 4ff4f436..6ce1f140 100644 --- a/language/l2.ott +++ b/language/l2.ott @@ -479,7 +479,7 @@ type_def :: 'TD_' ::= index_range :: 'BF_' ::= {{ com index specification, for bitfields in register types}} {{ aux _ l }} | num :: :: 'single' {{ com single index }} - | num1 : num2 :: :: range {{ com index range }} + | num1 '..' num2 :: :: range {{ com index range }} | index_range1 , index_range2 :: :: concat {{ com concatenation of index ranges }} % |
