Instantiate Parser::family once
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
|
||||
#include "parser.h"
|
||||
|
||||
const Parser::StateFamily Parser::family;
|
||||
|
||||
static void append_or_delete( Parser::Action *act,
|
||||
std::list<Parser::Action *>&vec )
|
||||
{
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include "parserstatefamily.h"
|
||||
|
||||
namespace Parser {
|
||||
static const StateFamily family;
|
||||
extern const StateFamily family;
|
||||
|
||||
class Parser {
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user