forked from jasder/antlr
Updated ANTLR 4 reference revision
This commit is contained in:
parent
1413e6d72c
commit
457d6e0aa4
|
@ -140,9 +140,9 @@ namespace Antlr4.Runtime
|
||||||
public override string ToString()
|
public override string ToString()
|
||||||
{
|
{
|
||||||
string opName = GetType().FullName;
|
string opName = GetType().FullName;
|
||||||
int $index = opName.IndexOf('$');
|
int index = opName.IndexOf('$');
|
||||||
opName = Sharpen.Runtime.Substring(opName, $index + 1, opName.Length);
|
opName = Sharpen.Runtime.Substring(opName, index + 1, opName.Length);
|
||||||
return "<" + opName + "@" + tokens.Get(index) + ":\"" + text + "\">";
|
return "<" + opName + "@" + tokens.Get(this.index) + ":\"" + text + "\">";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 7fe8a6353fab1798fa29777ed1f576aeae716cbf
|
Subproject commit ad17f36a468eb693df02676fa108567bcd319c5a
|
Loading…
Reference in New Issue