Skip to content

Commit 14ef296

Browse files
GillesDuvertGiloo
andauthored
Speedup lexer (#2027)
Ignoring OSX 13 absence of compilation, see #2025 for reason. Co-authored-by: Giloo <gildas@localhost>
1 parent 778ef85 commit 14ef296

File tree

96 files changed

+4500
-2305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+4500
-2305
lines changed

src/GDLLexer.cpp

Lines changed: 380 additions & 377 deletions
Large diffs are not rendered by default.

src/GDLLexer.hpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
#include <antlr/TokenStreamIOException.hpp>
2626
#include <antlr/CharInputBuffer.hpp>
2727

28-
// GD: set to 1 to traceout what the Parser does.
29-
#define debugParser 0
30-
//#include "dinterpreter.hpp"
3128

3229
// definition in dinterpreter.cpp
3330
void MemorizeCompileOptForMAINIfNeeded( unsigned int cOpt);
@@ -285,6 +282,12 @@ class CUSTOM_API GDLLexer : public antlr::CharScanner, public GDLTokenTypes
285282
static const antlr::BitSet _tokenSet_10;
286283
static const unsigned long _tokenSet_11_data_[];
287284
static const antlr::BitSet _tokenSet_11;
285+
static const unsigned long _tokenSet_12_data_[];
286+
static const antlr::BitSet _tokenSet_12;
287+
static const unsigned long _tokenSet_13_data_[];
288+
static const antlr::BitSet _tokenSet_13;
289+
static const unsigned long _tokenSet_14_data_[];
290+
static const antlr::BitSet _tokenSet_14;
288291
};
289292

290293
#endif /*INC_GDLLexer_hpp_*/

0 commit comments

Comments
 (0)