diff options
-rw-r--r-- | sources/scalac/ast/parser/Parser.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scalac/ast/parser/Parser.java b/sources/scalac/ast/parser/Parser.java index 1f6c7e31f8..6c5356ebbb 100644 --- a/sources/scalac/ast/parser/Parser.java +++ b/sources/scalac/ast/parser/Parser.java @@ -1109,7 +1109,7 @@ public class Parser implements Tokens { return ts.toArray(); } - /** Pattern ::= TreePattern { '|' TreePattern } + /** Pattern ::= TreePattern { `|' TreePattern } */ Tree pattern() { @@ -1192,7 +1192,7 @@ public class Parser implements Tokens { * | literal * | StableId [ArgumentPatterns] * | `(' Patterns `)' - * | ((nothing)) //??? + * | (empty word - nothing) */ Tree simplePattern() { switch (s.token) { |