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

Commit

Permalink
add missing TYPE fields to map
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Coretta authored and Jesse Coretta committed Oct 31, 2024
1 parent 88dfda5 commit 068e3ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mr.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ func (r MatchingRule) Map() (def DefinitionMap) {
def[`OBSOLETE`] = []string{bool2str(r.Obsolete())}
def[`SYNTAX`] = []string{r.Syntax().NumericOID()}
def[`RAW`] = []string{r.String()}
def[`TYPE`] = []string{r.Type()}

// copy our extensions from receiver r
// into destination def.
Expand Down
1 change: 1 addition & 0 deletions mu.go
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ func (r MatchingRuleUse) Map() (def DefinitionMap) {
def[`OBSOLETE`] = []string{bool2str(r.Obsolete())}
def[`APPLIES`] = applies
def[`RAW`] = []string{r.String()}
def[`TYPE`] = []string{r.Type()}

// copy our extensions from receiver r
// into destination def.
Expand Down

0 comments on commit 068e3ed

Please sign in to comment.