Fix parsing of _ENV
This commit is contained in:
parent
b3492032e4
commit
131c01c8f0
@ -92,4 +92,6 @@ end
|
||||
|
||||
for k, v in (ipairs(table)) do
|
||||
print(k, v)
|
||||
end
|
||||
end
|
||||
|
||||
print(_ENV.sometable)
|
||||
@ -286,7 +286,7 @@ pub fn tokenize<T: Into<String>>(to_tokenize: T) -> Result<Vec<FullToken>, Error
|
||||
}
|
||||
}
|
||||
// "words"
|
||||
c if c.is_alphabetic() => {
|
||||
c if c.is_alphabetic() || *c == '_' => {
|
||||
let mut value = character.to_string();
|
||||
while let Some(c) = cursor.first() {
|
||||
if !(c.is_ascii_alphanumeric() || c == '_') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user