mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
eval_user_query for OPA style results (#29)
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
committed by
GitHub
parent
800e594d52
commit
63ecc44a48
@@ -972,7 +972,9 @@ impl<'source> Parser<'source> {
|
||||
literals.push(stmt);
|
||||
}
|
||||
|
||||
self.expect(end_delim, "while parsing query")?;
|
||||
if !end_delim.is_empty() {
|
||||
self.expect(end_delim, "while parsing query")?;
|
||||
}
|
||||
span.end = self.end;
|
||||
Ok(Query {
|
||||
span,
|
||||
|
||||
Reference in New Issue
Block a user