We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2570278 commit c9b247eCopy full SHA for c9b247e
1 file changed
src/sets-generator.js
@@ -120,7 +120,7 @@ export default class SetsGenerator {
120
// And if there was no EPSILON, we're done (otherwise, we
121
// don't break the loop, and proceed to the next symbol of the RHS.
122
if (
123
- !firstOfCurrent.hasOwnProperty(EPSILON) ||
+ !firstOfCurrent.hasOwnProperty(EPSILON) &&
124
(nonTerminal && !nonTerminal.hasDirectEpsilon)
125
) {
126
break;
0 commit comments