diff --git a/src/main/java/org/truffleruby/parser/BodyTranslator.java b/src/main/java/org/truffleruby/parser/BodyTranslator.java index ee584efd97d..d9cd966e4d6 100644 --- a/src/main/java/org/truffleruby/parser/BodyTranslator.java +++ b/src/main/java/org/truffleruby/parser/BodyTranslator.java @@ -2009,9 +2009,9 @@ public RubyNode visitLocalVarNode(LocalVarParseNode node) { if (readNode == null) { /* This happens for code such as: - * + * * def destructure4r((*c,d)) [c,d] end - * + * * We're going to just assume that it should be there and add it... */ environment.declareVar(name); diff --git a/src/main/java/org/truffleruby/parser/parser/ParserSupport.java b/src/main/java/org/truffleruby/parser/parser/ParserSupport.java index 69fa053f999..dbb7ea88923 100644 --- a/src/main/java/org/truffleruby/parser/parser/ParserSupport.java +++ b/src/main/java/org/truffleruby/parser/parser/ParserSupport.java @@ -949,7 +949,7 @@ public Case3ParseNode newCase3Node(SourceIndexLength position, ParseNode express } public InParseNode newInNode(SourceIndexLength position, ParseNode expressionNodes, ParseNode bodyNode, - ParseNode nextCase) { + ParseNode nextCase) { if (bodyNode == null) { bodyNode = NilImplicitParseNode.NIL; } @@ -1090,14 +1090,14 @@ public void initTopLocalVariables() { } /** Getter for property inSingle. - * + * * @return Value of property inSingle. */ public boolean isInSingle() { return inSingleton != 0; } /** Setter for property inSingle. - * + * * @param inSingle New value of property inSingle. */ public void setInSingle(int inSingle) { this.inSingleton = inSingle; @@ -1120,28 +1120,28 @@ public void setIsInClass(boolean inClass) { } /** Getter for property inSingle. - * + * * @return Value of property inSingle. */ public int getInSingle() { return inSingleton; } /** Gets the result. - * + * * @return Returns a RubyParserResult */ public RubyParserResult getResult() { return result; } /** Sets the result. - * + * * @param result The result to set */ public void setResult(RubyParserResult result) { this.result = result; } /** Sets the configuration. - * + * * @param configuration The configuration to set */ public void setConfiguration(ParserConfiguration configuration) { this.configuration = configuration; @@ -1449,7 +1449,7 @@ public void yyerror(String message) { } /** generate parsing error - * + * * @param message text to be displayed. * @param expected list of acceptable tokens, if available. */ public void yyerror(String message, String[] expected, String found) {