Updated ANTLR 4 reference revision

This commit is contained in:
Sam Harwell 2013-02-15 15:32:56 -06:00
parent 1413e6d72c
commit 457d6e0aa4
2 changed files with 4 additions and 4 deletions

View File

@ -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