[gobject-introspection] Add comment documenting we're ignoring C++ style comments.



commit 571a3ce3c9b50dff2c84fe8021e2ff823a0bf08c
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Mon Mar 19 09:17:28 2012 +0100

    Add comment documenting we're ignoring C++ style comments.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=672254

 giscanner/scannerlexer.l |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l
index 6a40398..98c4624 100644
--- a/giscanner/scannerlexer.l
+++ b/giscanner/scannerlexer.l
@@ -75,7 +75,7 @@ stringtext				([^\\\"])|(\\.)
 
 "/*"					{ parse_comment(scanner); }
 "/*"[\t ]?<[\t ,=A-Za-z0-9_]+>[\t ]?"*/" { parse_trigraph(scanner); }
-"//".*					{ }
+"//".*					{ /* Ignore C++ style comments. */ }
 
 "#define "[a-zA-Z_][a-zA-Z_0-9]*"("	{ yyless (yyleng - 1); return FUNCTION_MACRO; }
 "#define "[a-zA-Z_][a-zA-Z_0-9]*	{ return OBJECT_MACRO; }



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