diff --git a/scanner.go b/scanner.go index 9ee67fa..36a4591 100644 --- a/scanner.go +++ b/scanner.go @@ -113,7 +113,6 @@ func scanComment(b []byte) ([]byte, []byte, error) { return b, nil, nil } -// TODO perform validation on the string? func scanBasicString(b []byte) ([]byte, []byte, error) { //basic-string = quotation-mark *basic-char quotation-mark //quotation-mark = %x22 ; " @@ -137,7 +136,6 @@ func scanBasicString(b []byte) ([]byte, []byte, error) { return nil, nil, fmt.Errorf(`basic string not terminated by "`) } -// TODO perform validation on the string? func scanMultilineBasicString(b []byte) ([]byte, []byte, error) { //ml-basic-string = ml-basic-string-delim [ newline ] ml-basic-body //ml-basic-string-delim