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 208d19d commit af4979d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scanner/scanner.go
Original file line number Diff line number Diff line change
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 af4979d

Please sign in to comment.