Delete negative handling code for SNBT
This commit is contained in:
@ -115,9 +115,6 @@ func stateBeginValue(s *scanner, c byte) int {
|
|||||||
return s.pushParseState(c, parseListValue, scanBeginList)
|
return s.pushParseState(c, parseListValue, scanBeginList)
|
||||||
case '"', '\'': // beginning of TAG_String
|
case '"', '\'': // beginning of TAG_String
|
||||||
return stateBeginString(s, c)
|
return stateBeginString(s, c)
|
||||||
//case '-': // beginning of negative number
|
|
||||||
//s.step = stateNeg
|
|
||||||
//return scanBeginLiteral
|
|
||||||
default:
|
default:
|
||||||
if isNumber(c) {
|
if isNumber(c) {
|
||||||
stateNum0(s, c)
|
stateNum0(s, c)
|
||||||
|
Reference in New Issue
Block a user