Update parser.rs

This commit is contained in:
JT 2021-09-06 06:09:36 +12:00 committed by GitHub
parent 56c8987e0f
commit 6ebc97dec2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2103,7 +2103,7 @@ pub fn parse_expression(
match bytes[0] {
b'0' | b'1' | b'2' | b'3' | b'4' | b'5' | b'6' | b'7' | b'8' | b'9' | b'(' | b'{'
| b'[' | b'$' | b'"' | b'\'' | b'.' | b'-' => parse_math_expression(working_set, spans),
| b'[' | b'$' | b'"' | b'\'' | b'-' => parse_math_expression(working_set, spans),
_ => parse_call(working_set, spans, true),
}
}