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

Commit aeebcf4

Browse files
allow empty curly-braces in defval
1 parent bed5e38 commit aeebcf4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/netsnmp/mib/parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def with_separator(atom, separator = nil)
476476
end
477477

478478
rule(:valueof_simple_syntax) do
479-
value | lowercase_identifier | text | curly(object_identifiers_defval)
479+
value | lowercase_identifier | text | curly(object_identifiers_defval.maybe)
480480
end
481481

482482
rule(:object_identifiers_defval) do

0 commit comments

Comments
 (0)