diff options
author | Iain McGinniss <iainmcgin@gmail.com> | 2013-02-19 15:14:04 +0000 |
---|---|---|
committer | Iain McGinniss <iainmcgin@gmail.com> | 2013-02-19 15:14:04 +0000 |
commit | 580d5d605e59e4a172ee760548a5db239cd5846d (patch) | |
tree | 10035652bae09a399c030dfee8b572820ae29599 | |
parent | 18472839c28dca83ee4972ad0271d04e50a81c8f (diff) | |
download | scala-580d5d605e59e4a172ee760548a5db239cd5846d.tar.gz scala-580d5d605e59e4a172ee760548a5db239cd5846d.tar.bz2 scala-580d5d605e59e4a172ee760548a5db239cd5846d.zip |
fix for unicode character conversion error in producing PDF
fix for grammar code block (duplicate style annotation)
-rw-r--r-- | 03-lexical-syntax.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/03-lexical-syntax.md b/03-lexical-syntax.md index 8fc6d30cf6..476063c0c5 100644 --- a/03-lexical-syntax.md +++ b/03-lexical-syntax.md @@ -89,7 +89,7 @@ var while with yield _ : = => <- <: <% >: # @ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -The Unicode operators \\u21D2 ‘⇒’ and \\u2190 ‘←’, which have the ASCII +The Unicode operators \\u21D2 ‘$\Rightarrow$’ and \\u2190 ‘$\leftarrow$’, which have the ASCII equivalents ‘=>’ and ‘<-’, are also reserved. (@) Here are examples of identifiers: @@ -402,10 +402,10 @@ members of type `Boolean`{.scala}. ### Character Literals -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.grammar} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.grammar} characterLiteral ::= ‘'’ printableChar ‘'’ | ‘'’ charEscapeSeq ‘'’ -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.grammar} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A character literal is a single character enclosed in quotes. The character is either a printable unicode character or is described @@ -426,10 +426,10 @@ the octal escape `'\12'` ([see here](#escape-sequences)). ### String Literals -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.grammar} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.grammar} stringLiteral ::= ‘\"’ {stringElement} ‘\"’ stringElement ::= printableCharNoDoubleQuote | charEscapeSeq -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A string literal is a sequence of characters in double quotes. The characters are either printable unicode character or are described by |