Fix libsyntax update

Underscore is now one of keywords.
This commit is contained in:
topecongiro 2018-03-22 15:53:43 +09:00
parent 32ab7f4967
commit 51d5696977

View File

@ -965,8 +965,7 @@ fn next_space(tok: &Token) -> SpaceState {
| Token::DotDotDot
| Token::DotDotEq
| Token::DotEq
| Token::Question
| Token::Underscore => SpaceState::Punctuation,
| Token::Question => SpaceState::Punctuation,
Token::ModSep
| Token::Pound