Skip to content

Commit

Permalink
fix(decode): solve int overflow on unix arm32
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer committed Oct 12, 2023
1 parent 08e3f8d commit 65c8752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scanner/scanner.go
Expand Up @@ -141,7 +141,7 @@ func (s *Scanner) newLineCount(src []rune) int {
}

func (s *Scanner) updateIndentState(ctx *Context) {
indentNumBasedIndentState := s.indentState
var indentNumBasedIndentState IndentState
if s.prevIndentNum < s.indentNum {
s.indentLevel = s.prevIndentLevel + 1
indentNumBasedIndentState = IndentStateUp
Expand Down

0 comments on commit 65c8752

Please sign in to comment.