diff options
author | Oscar Campbell <oscar@campbell.nu> | 2015-05-25 05:24:47 +0200 |
---|---|---|
committer | Oscar Campbell <oscar@campbell.nu> | 2015-05-25 05:24:47 +0200 |
commit | feff2bae680f4c63182069fee16162fe4e5f9d66 (patch) | |
tree | 86932b8c5d5fe7f118dc5e03f15bd6e8229e821d /doc/manual/lexing.txt | |
parent | 6c8f7cc481f508ac3873d5c5529e67d60c61b8ee (diff) | |
download | Nim-feff2bae680f4c63182069fee16162fe4e5f9d66.tar.gz |
Change wording in some parts. Fix some typos.
Diffstat (limited to 'doc/manual/lexing.txt')
-rw-r--r-- | doc/manual/lexing.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/lexing.txt b/doc/manual/lexing.txt index df6d85636..ab1cd632d 100644 --- a/doc/manual/lexing.txt +++ b/doc/manual/lexing.txt @@ -25,7 +25,7 @@ a separate token. This trick allows parsing of Nim with only 1 token of lookahead. The parser uses a stack of indentation levels: the stack consists of integers -counting the spaces. The indentation information is queried at strategic +counting the spaces. The indentation information is queried at strategic places in the parser but ignored otherwise: The pseudo terminal ``IND{>}`` denotes an indentation that consists of more spaces than the entry at the top of the stack; IND{=} an indentation that has the same number of spaces. ``DED`` @@ -80,7 +80,7 @@ underscores ``__`` are not allowed:: digit ::= '0'..'9' IDENTIFIER ::= letter ( ['_'] (letter | digit) )* -Currently any unicode character with an ordinal value > 127 (non ASCII) is +Currently any Unicode character with an ordinal value > 127 (non ASCII) is classified as a ``letter`` and may thus be part of an identifier but later versions of the language may assign some Unicode characters to belong to the operator characters instead. |