update - syntax:msg
This commit is contained in:
parent
8b7ebd11ac
commit
74e065581c
|
@ -87,6 +87,8 @@ QString Rept::token_present() const
|
|||
return u8"(" + this->rule_peer->token_present() + QString(u8")*");
|
||||
else if (min_match == 1 && max_match == INT_MAX)
|
||||
return u8"(" + this->rule_peer->token_present() + QString(u8")+");
|
||||
else if (min_match == 0 && max_match == 1)
|
||||
return u8"(" + this->rule_peer->token_present() + QString(u8")?");
|
||||
|
||||
return u8"(" + this->rule_peer->token_present() + QString(u8"){%1, %2}").arg(min_match).arg(max_match);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue