Small bugfix
This commit is contained in:
parent
ef7cb5a562
commit
3b69ec581d
|
@ -59,7 +59,7 @@ namespace lxs {
|
|||
enfa.numStates++;
|
||||
enfa.starting = 0;
|
||||
enfa.priority[(State) *enfa.accepting.begin()] = (Priority) i;
|
||||
enfa.acceptingToken[(State) *enfa.accepting.begin()] = input[i].first;
|
||||
enfa.acceptingToken[(State) *enfa.accepting.begin()] = input[i].second.first;
|
||||
result.push_back(enfa);
|
||||
} catch(SyntaxError &err) {
|
||||
throw InputParserException("Error when parsing regex on line " + std::to_string(input[i].first) + ":\n\t" + err.what());
|
||||
|
|
Loading…
Reference in New Issue