2002-03-20 Daniel Berlin <dan@dberlin.org>
[deliverable/binutils-gdb.git] / binutils / defparse.y
index 7e139654e2dd32213256c0a62be2d5314e5534ec..d0bccd95a70631f470bc8453f470246c0e810d11 100644 (file)
@@ -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.022876 seconds and 4 git commands to generate.