Disallow underscore suffix for string-like literals.
This commit is contained in:
@@ -479,11 +479,7 @@ impl<'a> StringReader<'a> {
|
||||
}
|
||||
|
||||
self.with_str_from(start, |string| {
|
||||
if string == "_" {
|
||||
None
|
||||
} else {
|
||||
Some(Symbol::intern(string))
|
||||
}
|
||||
Some(Symbol::intern(string))
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user