1
0
mirror of https://github.com/robertkrimen/otto synced 2025-09-28 18:45:22 +08:00

Scan VERTICAL TAB (U+000B) as whitespace

This commit is contained in:
Robert Krimen 2012-10-16 16:38:19 -07:00
parent 3dcc92af9b
commit b729c55d84

View File

@ -534,7 +534,7 @@ func isIdentifierStart(rune rune) bool {
func isWhiteSpace(chr rune) bool { func isWhiteSpace(chr rune) bool {
switch chr { switch chr {
case ' ', '\t', '\u00a0': case ' ', '\t', '\u00a0', '\u000b':
return true return true
} }
return false return false