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

Commit 068e3ed

Browse files
Jesse CorettaJesse Coretta
Jesse Coretta
authored and
Jesse Coretta
committed
add missing TYPE fields to map
1 parent 88dfda5 commit 068e3ed

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

mr.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,7 @@ func (r MatchingRule) Map() (def DefinitionMap) {
478478
def[`OBSOLETE`] = []string{bool2str(r.Obsolete())}
479479
def[`SYNTAX`] = []string{r.Syntax().NumericOID()}
480480
def[`RAW`] = []string{r.String()}
481+
def[`TYPE`] = []string{r.Type()}
481482

482483
// copy our extensions from receiver r
483484
// into destination def.

mu.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,7 @@ func (r MatchingRuleUse) Map() (def DefinitionMap) {
490490
def[`OBSOLETE`] = []string{bool2str(r.Obsolete())}
491491
def[`APPLIES`] = applies
492492
def[`RAW`] = []string{r.String()}
493+
def[`TYPE`] = []string{r.Type()}
493494

494495
// copy our extensions from receiver r
495496
// into destination def.

0 commit comments

Comments
 (0)