projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2002-06-08 Daniel Jacobowitz <drow@mvista.com>
[deliverable/binutils-gdb.git]
/
binutils
/
defparse.y
diff --git
a/binutils/defparse.y
b/binutils/defparse.y
index 7e139654e2dd32213256c0a62be2d5314e5534ec..d0bccd95a70631f470bc8453f470246c0e810d11 100644
(file)
--- a/
binutils/defparse.y
+++ b/
binutils/defparse.y
@@
-149,6
+149,12
@@
opt_ordinal:
opt_equal_name:
'=' ID { $$ = $2; }
+ | '=' ID '.' ID
+ {
+ char *name = xmalloc (strlen ($2) + 1 + strlen ($4) + 1);
+ sprintf (name, "%s.%s", $2, $4);
+ $$ = name;
+ }
| { $$ = 0; }
;
This page took
0.023689 seconds
and
4
git commands to generate.