diff options
author | Som Snytt <som.snytt@gmail.com> | 2014-11-23 15:00:19 -0800 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2014-11-23 15:00:19 -0800 |
commit | bccf6ec8ef73b64977218be741d9f60875a647d0 (patch) | |
tree | 990fab7cdda07b314af3fcedb52091a2438316e0 /spec | |
parent | 495fdb3d72194c8b5010e98a1186ccafc95fbd8a (diff) | |
download | scala-bccf6ec8ef73b64977218be741d9f60875a647d0.tar.gz scala-bccf6ec8ef73b64977218be741d9f60875a647d0.tar.bz2 scala-bccf6ec8ef73b64977218be741d9f60875a647d0.zip |
SI-5205 Finish applying octal deletion
The original PR was partially applied to markdown.
https://github.com/scala/scala-dist/pull/103
Diffstat (limited to 'spec')
-rw-r--r-- | spec/01-lexical-syntax.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/01-lexical-syntax.md b/spec/01-lexical-syntax.md index d5752bbdf0..c37d8f2a0b 100644 --- a/spec/01-lexical-syntax.md +++ b/spec/01-lexical-syntax.md @@ -323,14 +323,12 @@ Literal ::= [‘-’] integerLiteral ### Integer Literals ```ebnf -integerLiteral ::= (decimalNumeral | hexNumeral | octalNumeral) +integerLiteral ::= (decimalNumeral | hexNumeral) [‘L’ | ‘l’] decimalNumeral ::= ‘0’ | nonZeroDigit {digit} hexNumeral ::= ‘0’ ‘x’ hexDigit {hexDigit} -octalNumeral ::= ‘0’ octalDigit {octalDigit} digit ::= ‘0’ | nonZeroDigit nonZeroDigit ::= ‘1’ | … | ‘9’ -octalDigit ::= ‘0’ | … | ‘7’ ``` Integer literals are usually of type `Int`, or of type |