(symbol_get): Don't cast LHS of an assignment;

this is a GCC extension and is not portable to other compilers.
This commit is contained in:
Paul Eggert
2002-08-12 14:53:26 +00:00
parent db2cc12fd0
commit d7163c0a58

View File

@@ -421,7 +421,7 @@ symbol_get (const char *key, location_t location)
/* Keep the symbol in a printable form. */
key = quotearg_style (escape_quoting_style, key);
(const char *) probe.tag = key;
*(char const **) &probe.tag = key;
entry = hash_lookup (symbol_table, &probe);
if (!entry)