mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
local vars + Parser.errror()
This commit is contained in:
@@ -5,9 +5,9 @@ module token
|
||||
|
||||
pub struct Token {
|
||||
pub:
|
||||
kind TokenKind // the token number/enum; for quick comparisons
|
||||
lit string // literal representation of the token
|
||||
// line_nr int // the line number in the source where the token occured
|
||||
kind TokenKind // the token number/enum; for quick comparisons
|
||||
lit string // literal representation of the token
|
||||
line_nr int // the line number in the source where the token occured
|
||||
// name_idx int // name table index for O(1) lookup
|
||||
// pos int // the position of the token in scanner text
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user