mirror of https://github.com/tbklang/tlang.git
Adjusted column number to be a little closer to home (might change later when I try to make column numbers more accurate)
This commit is contained in:
parent
49d0fc0086
commit
484353f6a9
|
@ -28,7 +28,8 @@ public final class Token
|
|||
|
||||
override string toString()
|
||||
{
|
||||
return token~" at ("~to!(string)(line)~", "~to!(string)(column)~")";
|
||||
/* TODO (Column number): Don't adjust here, do it maybe in the lexer itself */
|
||||
return token~" at ("~to!(string)(line)~", "~to!(string)(column-token.length)~")";
|
||||
}
|
||||
|
||||
public string getToken()
|
||||
|
|
Loading…
Reference in New Issue