Comments support in unstable/Parser (#860)

This commit is contained in:
Thomas Pelletier
2023-05-19 10:44:02 -04:00
committed by GitHub
parent 986afffb7c
commit fcf9d37d0c
3 changed files with 267 additions and 20 deletions
-1
View File
@@ -151,7 +151,6 @@ func scanWhitespace(b []byte) ([]byte, []byte) {
return b, b[len(b):]
}
//nolint:unparam
func scanComment(b []byte) ([]byte, []byte, error) {
// comment-start-symbol = %x23 ; #
// non-ascii = %x80-D7FF / %xE000-10FFFF