Skip to content

Commit ec1b5f3

Browse files
authoredMar 9, 2025
Add top missing antlr4 headers inside impl. (#4793)
* Include `"atn/ATNState.h"` for files using `antlr4::atn::ATNState` Signed-off-by: Henner Zeller <[email protected]> * Include `"Token.h"` for files using `antlr4::Token` Signed-off-by: Henner Zeller <[email protected]> * Include `"ANTLRErrorListener.h"` in files using `antlr4::ANTLRErrorListener` Signed-off-by: Henner Zeller <[email protected]> * Include `"ANTLRErrorStrategy.h"` in files using `antlr4::ANTLRErrorStrategy` Signed-off-by: Henner Zeller <[email protected]> * Include `"ANTLRInputStream.h"` in files using `antlr4::ANTLRInputStream` Signed-off-by: Henner Zeller <[email protected]> * Include `"atn/TransitionType.h"` in files using `antlr4::atn::TransitionType` Signed-off-by: Henner Zeller <[email protected]> * Include `"atn/ATNStateType.h"` in files using `antlr4::atn::ATNStateType` Signed-off-by: Henner Zeller <[email protected]> * Include `"misc/Interval.h"` and `"misc/IntervalSet.h"` in files using these. Signed-off-by: Henner Zeller <[email protected]> * Include `"tree/ParseTreeType.h"` in files using `antlr4::tree::ParseTreeType` Signed-off-by: Henner Zeller <[email protected]> --------- Signed-off-by: Henner Zeller <[email protected]>
1 parent 03f124b commit ec1b5f3

File tree

105 files changed

+168
-0
lines changed

Some content is hidden

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

105 files changed

+168
-0
lines changed
 

‎runtime/Cpp/runtime/src/ANTLRErrorListener.h

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <string>
99
#include <cstddef>
1010
#include "antlr4-common.h"
11+
#include "Token.h"
1112
#include "RecognitionException.h"
1213

1314
namespace antlrcpp {

‎runtime/Cpp/runtime/src/ANTLRErrorStrategy.h

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "Token.h"
1010

1111
namespace antlr4 {
12+
class Parser;
1213

1314
/// <summary>
1415
/// The interface for defining strategies to deal with syntax errors encountered

0 commit comments

Comments
 (0)