diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2012-03-19 09:17:28 +0100 |
---|---|---|
committer | Johan Dahlin <jdahlin@litl.com> | 2012-04-05 10:22:57 -0300 |
commit | 571a3ce3c9b50dff2c84fe8021e2ff823a0bf08c (patch) | |
tree | 8a5b337cfdd1347e4b3d120ac3eaeb5159ae5919 | |
parent | 041aeabea9d84376230354938d1205616e4a560a (diff) | |
download | gobject-introspection-571a3ce3c9b50dff2c84fe8021e2ff823a0bf08c.tar.gz |
Add comment documenting we're ignoring C++ style comments.
https://bugzilla.gnome.org/show_bug.cgi?id=672254
-rw-r--r-- | giscanner/scannerlexer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l index 6a403984..98c4624e 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; } |