Skip to content

Commit

Permalink
Merge pull request #563 from bduggan/patch-2
Browse files Browse the repository at this point in the history
Object elements can be separated by comma or newline
  • Loading branch information
alisdair committed Jan 30, 2023
2 parents 2ffdbcf + 1029fd5 commit 4557953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hclsyntax/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,10 @@ collection value.
```ebnf
CollectionValue = tuple | object;
tuple = "[" (
(Expression ("," Expression)* ","?)?
(Expression (("," | Newline) Expression)* ","?)?
) "]";
object = "{" (
(objectelem ("," objectelem)* ","?)?
(objectelem (( "," | Newline) objectelem)* ","?)?
) "}";
objectelem = (Identifier | Expression) ("=" | ":") Expression;
```
Expand Down

2 comments on commit 4557953

@benchegimah07
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello. A Newbie Is Here With You. How To Begin With My Work.

@benchegimah07
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You Congratulations. I Need Your Wonderful products And Guidance.

Please sign in to comment.