[gobject-introspection] scanner: Support __restrict__



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

    scanner: Support __restrict__
    
    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 de723a6..d6903d4 100644
--- a/giscanner/scannerlexer.l
+++ b/giscanner/scannerlexer.l
@@ -165,6 +165,7 @@ stringtext                          ([^\\\"])|(\\.)
 "__nonnull"                            { if (!parse_ignored_macro()) REJECT; }
 "__signed__"                           { return SIGNED; }
 "__restrict"                           { return RESTRICT; }
+"__restrict__"                         { return RESTRICT; }
 "__typeof"                             { if (!parse_ignored_macro()) REJECT; }
 "__volatile"                           { return VOLATILE; }
 "__volatile__"                         { return VOLATILE; }


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