mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 16:47:28 +01:00
Change Token.Line from int32 to uint32.
This commit is contained in:
1 parent
0cfb27db56
commit
a48bbf6d2e
2 files changed
+7
-4
No files matched your search
+2
-2
@@ -26,10 +26,10 @@ type parser struct {
|
||||
src []t.Token
|
||||
m *t.IDMap
|
||||
filename string
|
||||
lastLine int32
|
||||
lastLine uint32
|
||||
}
|
||||
|
||||
func (p *parser) line() int32 {
|
||||
func (p *parser) line() uint32 {
|
||||
if len(p.src) != 0 {
|
||||
return p.src[0].Line
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user