projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b42452
)
Support parsing of intializers containing macros with arguments. (#129717)
author
Matthias Clasen
<maclas@gmx.de>
Fri, 27 Feb 2004 00:49:56 +0000
(
00:49
+0000)
committer
Matthias Clasen
<matthiasc@src.gnome.org>
Fri, 27 Feb 2004 00:49:56 +0000
(
00:49
+0000)
Fri Feb 27 01:49:22 2004 Matthias Clasen <maclas@gmx.de>
* glib-mkenums.in: Support parsing of intializers containing
macros with arguments. (#129717)
gobject/glib-mkenums.in
patch
|
blob
|
history
diff --git
a/gobject/glib-mkenums.in
b/gobject/glib-mkenums.in
index
1643fd6
..
969c84a
100755
(executable)
--- a/
gobject/glib-mkenums.in
+++ b/
gobject/glib-mkenums.in
@@
-83,7
+83,9
@@
sub parse_entries {
if (m@^\s*
(\w+)\s* # name
(?:=( # value
- (?:[^,/]|/(?!\*))*
+ \s*\w+\s*\(.*\)\s* # macro with multiple args
+ | # OR
+ (?:[^,/]|/(?!\*))* # anything but a comma or comment
))?,?\s*
(?:/\*< # options
(([^*]|\*(?!/))*)