[gobject-introspection] scnaner: Support asm __volatile__



commit 039099420e00e22a0ba8771a8c2eb0a18fffeadc
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date:   Fri Feb 21 11:21:05 2014 +0000

    scnaner: Support asm __volatile__
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724887

 giscanner/scannerlexer.l |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l
index d9648a4..de723a6 100644
--- a/giscanner/scannerlexer.l
+++ b/giscanner/scannerlexer.l
@@ -153,6 +153,7 @@ stringtext                          ([^\\\"])|(\\.)
 
 "__asm"[\t\f\v\r ]+"volatile"                  { if (!parse_ignored_macro()) REJECT; }
 "__asm__"[\t\f\v\r ]+"volatile"                { if (!parse_ignored_macro()) REJECT; }
+"__asm__"[\t\f\v\r ]+"__volatile__"    { if (!parse_ignored_macro()) REJECT; }
 "__asm"                                { if (!parse_ignored_macro()) REJECT; }
 "__asm__"                              { if (!parse_ignored_macro()) REJECT; }
 "__attribute__"                        { if (!parse_ignored_macro()) REJECT; }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]