@ -1104,6 +1104,8 @@ struct Ope::Visitor
struct AssignIDToDefinition : public Ope : : Visitor
struct AssignIDToDefinition : public Ope : : Visitor
{
{
using Ope : : Visitor : : visit ;
void visit ( Sequence & ope ) override {
void visit ( Sequence & ope ) override {
for ( auto op : ope . opes_ ) {
for ( auto op : ope . opes_ ) {
op - > accept ( * this ) ;
op - > accept ( * this ) ;
@ -1133,6 +1135,8 @@ struct IsToken : public Ope::Visitor
{
{
IsToken ( ) : has_token_boundary ( false ) , has_rule ( false ) { }
IsToken ( ) : has_token_boundary ( false ) , has_rule ( false ) { }
using Ope : : Visitor : : visit ;
void visit ( Sequence & ope ) override {
void visit ( Sequence & ope ) override {
for ( auto op : ope . opes_ ) {
for ( auto op : ope . opes_ ) {
op - > accept ( * this ) ;
op - > accept ( * this ) ;
@ -1661,6 +1665,8 @@ private:
DetectLeftRecursion ( const std : : string & name )
DetectLeftRecursion ( const std : : string & name )
: s_ ( nullptr ) , name_ ( name ) , done_ ( false ) { }
: s_ ( nullptr ) , name_ ( name ) , done_ ( false ) { }
using Ope : : Visitor : : visit ;
void visit ( Sequence & ope ) override {
void visit ( Sequence & ope ) override {
for ( auto op : ope . opes_ ) {
for ( auto op : ope . opes_ ) {
op - > accept ( * this ) ;
op - > accept ( * this ) ;