projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
041aeab
)
Add comment documenting we're ignoring C++ style comments.
author
Dieter Verfaillie
<dieterv@optionexplicit.be>
Mon, 19 Mar 2012 08:17:28 +0000
(09:17 +0100)
committer
Johan Dahlin
<jdahlin@litl.com>
Thu, 5 Apr 2012 13:22:57 +0000
(10:22 -0300)
https://bugzilla.gnome.org/show_bug.cgi?id=672254
giscanner/scannerlexer.l
patch
|
blob
|
history
diff --git
a/giscanner/scannerlexer.l
b/giscanner/scannerlexer.l
index 6a4039840bc3878827a6f5c094f3cf57df70d499..98c4624e9f8a32f4237e084570377079a8548df8 100644
(file)
--- 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; }