Commit a9f3dd50 authored by Mark Wheelhouse's avatar Mark Wheelhouse
Browse files

tidied up single-quote character in WACC Language spec

parent 807531e8
No preview for this file type
...@@ -168,14 +168,14 @@ extended with some basic regular expression notation that simplifies the present ...@@ -168,14 +168,14 @@ extended with some basic regular expression notation that simplifies the present
<bool-liter> ::= `true' | `false' <bool-liter> ::= `true' | `false'
<char-liter> ::= `\'' <character> `\'' <char-liter> ::= `\textquotesingle' <character> `\textquotesingle'
<str-liter> ::= `\"' <character>* `\"' <str-liter> ::= `\"' <character>* `\"'
<character> ::= "any-ASCII-character-except-`\\'-`\''-`\"'" <character> ::= "any-ASCII-character-except-`\\'-`\textquotesingle'-`\"'"
\alt `\\' <escaped-char> \alt `\\' <escaped-char>
<escaped-char> ::= `0' | `b' | `t' | `n' | `f' | `r' | `\"' | `\'' | `\\' <escaped-char> ::= `0' | `b' | `t' | `n' | `f' | `r' | `\"' | `\textquotesingle' | `\\'
<array-liter> ::= `[' ( <expr> (`,' <expr>)* )? `]' <array-liter> ::= `[' ( <expr> (`,' <expr>)* )? `]'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment