File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ def parse_output(self, output):
87
87
if match is not None :
88
88
if msg is not None :
89
89
self .cc_info (msg )
90
+ msg = None
90
91
msg = {
91
92
'severity' : match .group ('severity' ).lower (),
92
93
'file' : match .group ('file' ),
Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ def parse_output(self, output):
118
118
if match is not None :
119
119
if msg is not None :
120
120
self .cc_info (msg )
121
+ msg = None
121
122
msg = {
122
123
'severity' : match .group ('severity' ).lower (),
123
124
'file' : match .group ('file' ),
@@ -138,6 +139,9 @@ def parse_output(self, output):
138
139
else :
139
140
msg ['text' ] += line + "\n "
140
141
142
+ if msg is not None :
143
+ self .cc_info (msg )
144
+
141
145
def get_dep_option (self , object ):
142
146
base , _ = splitext (object )
143
147
dep_path = base + '.d'
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ def parse_output(self, output):
102
102
if match is not None :
103
103
if msg is not None :
104
104
self .cc_info (msg )
105
+ msg = None
105
106
msg = {
106
107
'severity' : match .group ('severity' ).lower (),
107
108
'file' : match .group ('file' ),
@@ -122,6 +123,9 @@ def parse_output(self, output):
122
123
else :
123
124
msg ['text' ] += line + "\n "
124
125
126
+ if msg is not None :
127
+ self .cc_info (msg )
128
+
125
129
def get_dep_option (self , object ):
126
130
base , _ = splitext (object )
127
131
dep_path = base + '.d'
You can’t perform that action at this time.
0 commit comments