ST / ST_Events-old

Dependents:   HelloWorld_CCA01M1 HelloWorld_CCA02M1 CI-data-logger-server HelloWorld_CCA02M1 ... more

This is a fork of the events subdirectory of https://github.com/ARMmbed/mbed-os.

Note, you must import this library with import name: events!!!

Revision:
8285:d88fab74071c
Parent:
7988:4644adacd001
Child:
8286:978e541a018f
diff -r db5953577c7c -r d88fab74071c tools/toolchains/gcc.py
--- a/tools/toolchains/gcc.py	Wed Sep 28 06:48:24 2016 -0700
+++ b/tools/toolchains/gcc.py	Wed Sep 28 14:42:35 2016 -0500
@@ -146,6 +146,7 @@
             if match is not None:
                 if msg is not None:
                     self.cc_info(msg)
+                    msg = None
                 msg = {
                     'severity': match.group('severity').lower(),
                     'file': match.group('file'),
@@ -166,6 +167,9 @@
                 else:
                     msg['text'] += line+"\n"
 
+        if msg is not None:
+            self.cc_info(msg)
+
     def get_dep_option(self, object):
         base, _ = splitext(object)
         dep_path = base + '.d'