forked from jasder/antlr
A few small corrections after the previous merge.
This commit is contained in:
parent
ef247f1939
commit
91a7657d73
|
@ -39,8 +39,7 @@ using namespace antlr4::atn;
|
||||||
using namespace antlr4::misc;
|
using namespace antlr4::misc;
|
||||||
|
|
||||||
const Ref<LexerMoreAction> LexerMoreAction::getInstance() {
|
const Ref<LexerMoreAction> LexerMoreAction::getInstance() {
|
||||||
static Ref<LexerMoreAction> instance = std::shared_ptr<LexerMoreAction>(
|
static Ref<LexerMoreAction> instance(new LexerMoreAction());
|
||||||
new LexerMoreAction());
|
|
||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,8 +39,7 @@ using namespace antlr4::atn;
|
||||||
using namespace antlr4::misc;
|
using namespace antlr4::misc;
|
||||||
|
|
||||||
const Ref<LexerPopModeAction> LexerPopModeAction::getInstance() {
|
const Ref<LexerPopModeAction> LexerPopModeAction::getInstance() {
|
||||||
static Ref<LexerPopModeAction> instance = std::shared_ptr<LexerPopModeAction>(
|
static Ref<LexerPopModeAction> instance(new LexerPopModeAction());
|
||||||
new LexerPopModeAction());
|
|
||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -34,8 +34,6 @@
|
||||||
#include "atn/LexerAction.h"
|
#include "atn/LexerAction.h"
|
||||||
#include "atn/LexerActionType.h"
|
#include "atn/LexerActionType.h"
|
||||||
|
|
||||||
#include <memory>
|
|
||||||
|
|
||||||
namespace antlr4 {
|
namespace antlr4 {
|
||||||
namespace atn {
|
namespace atn {
|
||||||
|
|
||||||
|
|
|
@ -39,8 +39,7 @@ using namespace antlr4::atn;
|
||||||
using namespace antlr4::misc;
|
using namespace antlr4::misc;
|
||||||
|
|
||||||
const Ref<LexerSkipAction> LexerSkipAction::getInstance() {
|
const Ref<LexerSkipAction> LexerSkipAction::getInstance() {
|
||||||
static Ref<LexerSkipAction> instance = std::shared_ptr<LexerSkipAction>(
|
static Ref<LexerSkipAction> instance(new LexerSkipAction());
|
||||||
new LexerSkipAction());
|
|
||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue