Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
allow empty curly-braces in defval
Browse files Browse the repository at this point in the history
  • Loading branch information
HoneyryderChuck committed Mar 1, 2023
1 parent bed5e38 commit aeebcf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/netsnmp/mib/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ def with_separator(atom, separator = nil)
end

rule(:valueof_simple_syntax) do
value | lowercase_identifier | text | curly(object_identifiers_defval)
value | lowercase_identifier | text | curly(object_identifiers_defval.maybe)
end

rule(:object_identifiers_defval) do
Expand Down

0 comments on commit aeebcf4

Please sign in to comment.