Change bitset upperbound to another higher arbitrary value to allow for larger number of rules

We had a complex grammar file hit past this upperbound.  One solution is to put this up higher, another is to refactor into a container that can grow.
This commit is contained in:
WalterCouto 2018-12-20 11:18:16 -05:00
parent 70d9ddcd0a
commit 6195ec749b
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
namespace antlrcpp {
class ANTLR4CPP_PUBLIC BitSet : public std::bitset<1024> {
class ANTLR4CPP_PUBLIC BitSet : public std::bitset<2048> {
public:
size_t nextSetBit(size_t pos) const {
for (size_t i = pos; i < size(); i++){