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:
parent
70d9ddcd0a
commit
6195ec749b
|
@ -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++){
|
||||
|
|
Loading…
Reference in New Issue