Skip to content

Commit

Permalink
Merge pull request #161 from YamiOdymel/master
Browse files Browse the repository at this point in the history
Grammar: corrected the definition of an Object
  • Loading branch information
nemtsov authored Sep 8, 2021
2 parents a58140e + 15f9bb0 commit bf05562
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Take a look at `test/index-test.js` for examples of all of these and more.
```
Props ::= Prop | Prop "," Props
Prop ::= Object | Array
Object ::= NAME | NAME "/" Object
Object ::= NAME | NAME "/" Prop
Array ::= NAME "(" Props ")"
NAME ::= ? all visible characters ?
```
Expand Down
2 changes: 1 addition & 1 deletion lib/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = compile
* Grammar:
* Props ::= Prop | Prop "," Props
* Prop ::= Object | Array
* Object ::= NAME | NAME "/" Object
* Object ::= NAME | NAME "/" Prop
* Array ::= NAME "(" Props ")"
* NAME ::= ? all visible characters ?
*
Expand Down

0 comments on commit bf05562

Please sign in to comment.