/[bison]/bison/src/muscle_tab.c
ViewVC logotype

Diff of /bison/src/muscle_tab.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by akim, Tue Feb 5 10:00:47 2002 UTC revision 1.15 by akim, Tue Feb 5 10:08:59 2002 UTC
# Line 92  muscle_find (const char *key) Line 92  muscle_find (const char *key)
92    muscle_entry_t *result = hash_lookup (muscle_table, &pair);    muscle_entry_t *result = hash_lookup (muscle_table, &pair);
93    return result ? result->value : NULL;    return result ? result->value : NULL;
94  }  }
95    
96    
97    /* Output the definition of all the current muscles into a list of
98       m4_defines.  */
99    
100    static void
101    muscle_m4_output (muscle_entry_t *entry, FILE *out)
102    {
103      fprintf (out, "m4_define([b4_%s],\n", entry->key);
104      fprintf (out, "          [[%s]])\n\n\n", entry->value);
105    }
106    
107    
108    /* Output the definition of all the current muscles into a list of
109       m4_defines.  */
110    
111    void
112    muscles_m4_output (FILE *out)
113    {
114      hash_do_for_each (muscle_table,
115                        (Hash_processor) muscle_m4_output,
116                        out);
117    }

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26