We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07a86c9 commit ca14262Copy full SHA for ca14262
Changelog.md
@@ -1,5 +1,8 @@
1
# Changelog
2
3
+# v0.0.9
4
+* Fix `string.HexNumber`
5
+
6
# v0.0.8
7
* Add parsers to the extra package:
8
* `AsciiIdentifierStr`
string/parsers.go
@@ -478,7 +478,7 @@ func HexNumber() ParserFn {
478
}
479
s := string(ch)
480
481
- if '0' <= ch && ch <= '7' || 'A' <= ch && ch <= 'F' || 'a' <= ch && ch <= 'f' {
+ if '0' <= ch && ch <= '9' || 'A' <= ch && ch <= 'F' || 'a' <= ch && ch <= 'f' {
482
ctx.AstStack = append(ctx.AstStack, Ast{
483
ClassName: ClassName,
484
Type: AstType_String,
0 commit comments