@@ -1914,8 +1914,8 @@ object Parsers {
19141914 if (in.token == RPAREN ) Nil else patterns()
19151915
19161916
1917- /** ArgumentPatterns ::= `(' [Patterns] `)'
1918- * | `(' [Patterns `,' ] Pattern2 `:' `_' `*' ')
1917+ /** ArgumentPatterns ::= ‘(’ [Patterns] ‘)’
1918+ * | ‘(’ [Patterns ‘,’ ] Pattern2 ‘:’ ‘_’ ‘*’ ‘)’
19191919 */
19201920 def argumentPatterns (): List [Tree ] =
19211921 inParens(patternsOpt())
@@ -2065,18 +2065,18 @@ object Parsers {
20652065
20662066 /* -------- PARAMETERS ------------------------------------------- */
20672067
2068- /** ClsTypeParamClause::= `[' ClsTypeParam {`,' ClsTypeParam} `]'
2069- * ClsTypeParam ::= {Annotation} [`+' | `-' ]
2068+ /** ClsTypeParamClause::= ‘[’ ClsTypeParam {‘,’ ClsTypeParam} ‘]’
2069+ * ClsTypeParam ::= {Annotation} [‘+’ | ‘-’ ]
20702070 * id [HkTypeParamClause] TypeParamBounds
20712071 *
2072- * DefTypeParamClause::= `[' DefTypeParam {`,' DefTypeParam} `]'
2072+ * DefTypeParamClause::= ‘[’ DefTypeParam {‘,’ DefTypeParam} ‘]’
20732073 * DefTypeParam ::= {Annotation} id [HkTypeParamClause] TypeParamBounds
20742074 *
2075- * TypTypeParamCaluse::= `[' TypTypeParam {`,' TypTypeParam} `]'
2075+ * TypTypeParamCaluse::= ‘[’ TypTypeParam {‘,’ TypTypeParam} ‘]’
20762076 * TypTypeParam ::= {Annotation} id [HkTypePamClause] TypeBounds
20772077 *
2078- * HkTypeParamClause ::= `[' HkTypeParam {`,' HkTypeParam} `]'
2079- * HkTypeParam ::= {Annotation} ['+' | `-' ] (id [HkTypePamClause] | _' ) TypeBounds
2078+ * HkTypeParamClause ::= ‘[’ HkTypeParam {‘,’ HkTypeParam} ‘]’
2079+ * HkTypeParam ::= {Annotation} [‘+’ | ‘-’ ] (id [HkTypePamClause] | ‘_’ ) TypeBounds
20802080 */
20812081 def typeParamClause (ownerKind : ParamOwner .Value ): List [TypeDef ] = inBrackets {
20822082 def typeParam (): TypeDef = {
@@ -2557,8 +2557,8 @@ object Parsers {
25572557 }
25582558 }
25592559
2560- /** TmplDef ::= ([` case' ] ‘class’ | trait’) ClassDef
2561- * | [` case'] ` object' ObjectDef
2560+ /** TmplDef ::= ([‘ case’ ] ‘class’ | ‘ trait’) ClassDef
2561+ * | [‘ case’] ‘ object’ ObjectDef
25622562 * | ‘enum’ EnumDef
25632563 * | ‘instance’ InstanceDef
25642564 */
0 commit comments