Skip to content

Commit

Permalink
fix tapmodo#5: handle entries with no attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
prigaux authored and Quanah Gibson-Mount committed May 1, 2023
1 parent 65107f0 commit 5f9d0fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ldif.pegjs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ ldif_content
}

ldif_entry "entry"
= dn:dn_spec SEP attribs:attrs_spec whitespace* {
= dn:dn_spec SEP attribs:attrs_spec? whitespace* {
return new _type.Record(dn,attribs);
}

Expand Down
3 changes: 3 additions & 0 deletions lib/parser.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5f9d0fb

Please sign in to comment.