fix #1052
This commit is contained in:
parent
8b4b333cd0
commit
1783f0010b
|
|
@ -432,7 +432,7 @@ namespace GPPGParserScanner
|
||||||
{
|
{
|
||||||
string s = match.Value.Replace("{", "").Replace("}", "");
|
string s = match.Value.Replace("{", "").Replace("}", "");
|
||||||
int colon_pos = s.IndexOf(':');
|
int colon_pos = s.IndexOf(':');
|
||||||
if (colon_pos != -1)
|
if (colon_pos != -1 && s.IndexOf('?') == -1)
|
||||||
{
|
{
|
||||||
var_formats.Add(ind, s.Substring(colon_pos));
|
var_formats.Add(ind, s.Substring(colon_pos));
|
||||||
s = s.Substring(0, colon_pos);
|
s = s.Substring(0, colon_pos);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue