Skip to content

Commit

Permalink
Eclipse clean-up corrections.
Browse files Browse the repository at this point in the history
Signed-off-by: Jerome Dassonville <dassonville.jerome@gmail.com>
  • Loading branch information
jdassonvil committed Mar 1, 2012
1 parent 7d99aba commit 5440694
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/org/sablecc/sablecc/core/walker/ReferenceVerifier.java
Expand Up @@ -1203,7 +1203,7 @@ else if (!isATokenDeclaration(declaration)
&& !(declaration instanceof Selector.ParserSelector.Selection)
&& !(declaration instanceof Parser.ParserProduction
&& ((Parser.ParserProduction) declaration).isToken() || ((Parser.ParserProduction) declaration)
.isNormal())) {
.isNormal())) {

String[] expectedNames = { "token", "parser production" };
throw SemanticException.badReference(reference,
Expand Down
4 changes: 2 additions & 2 deletions src/org/sablecc/sablecc/core/walker/TokenOrderVerifier.java
Expand Up @@ -49,8 +49,8 @@ public TokenOrderVerifier(
@Override
public void visitParserAlternative(
Parser.ParserAlternative node) {
if(node.getTransformation() != null){

if (node.getTransformation() != null) {
this.alternative = node;
this.previousIndex = -1;
this.transformedProductionPreviousIndex.clear();
Expand Down

0 comments on commit 5440694

Please sign in to comment.