This commit is contained in:
evan-schott 2024-04-23 14:24:08 -07:00
parent 7f03816918
commit 760fc3cdba
3 changed files with 6 additions and 6 deletions

View File

@ -443,7 +443,7 @@ impl ParserContext<'_> {
fn parse_external_resource(&mut self, expr: Expression, network_span: Span) -> Result<Expression> {
// Parse `/`.
self.expect(&Token::Div)?;
// Parse name.
let name = self.expect_identifier()?;

View File

@ -11,21 +11,21 @@ outputs:
- 0
- Literal:
Address:
- hello
- hello.aleo
- span:
lo: 0
hi: 5
- 1
- Literal:
Address:
- fooooo
- fooooo.aleo
- span:
lo: 0
hi: 6
- 1
- Literal:
Address:
- bar
- bar.aleo
- span:
lo: 0
hi: 3

View File

@ -75,7 +75,7 @@ outputs:
- Identifier: "{\"id\":\"16\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":178,\\\"hi\\\":179}\"}"
- Literal:
Address:
- hello
- hello.aleo
- span:
lo: 181
hi: 186
@ -88,7 +88,7 @@ outputs:
expression:
Literal:
Address:
- foo
- foo.aleo
- span:
lo: 209
hi: 212