mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
More builtins and semantic improvements (#66)
- base64 builtins - base64url builtins - jsonschema builtins - json.remove builtin - handle composite index variables - use dashu_float since rust_decimal has lesser precision Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
committed by
GitHub
parent
577e1aa8db
commit
f6140b6be5
@@ -119,7 +119,7 @@ impl<'source> Parser<'source> {
|
||||
Ok(comps)
|
||||
}
|
||||
|
||||
fn handle_import_future_keywords(&mut self, comps: &Vec<Span>) -> Result<bool> {
|
||||
fn handle_import_future_keywords(&mut self, comps: &[Span]) -> Result<bool> {
|
||||
if comps.len() >= 2 && *comps[0].text() == "future" && *comps[1].text() == "keywords" {
|
||||
match comps.len() - 2 {
|
||||
1 => self.set_future_keyword(&comps[2].text(), &comps[2])?,
|
||||
|
||||
Reference in New Issue
Block a user