Skip to content

Commit

Permalink
Merge pull request #7 from jf89/master
Browse files Browse the repository at this point in the history
Fixed a bug with epsilon lookaheads.
  • Loading branch information
badlee committed Jul 22, 2015
2 parents e4345fc + 266bfab commit 886a422
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
node_modules/
npm-debug.log
*.swp
2 changes: 2 additions & 0 deletions bin/jscc
Expand Up @@ -1561,6 +1561,8 @@ function lalr1_closure( s )

if( j == states[s].epsilon.length )
states[s].epsilon.push( closure[i] );
else
states[s].epsilon[j] = closure[i];

closure.splice( i, 1 );
}
Expand Down

0 comments on commit 886a422

Please sign in to comment.