diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2002-08-12 14:53:26 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2002-08-12 14:53:26 +0000 |
commit | d7163c0a58fad051d90a6f83107c646c4408971c (patch) | |
tree | 30d50ccb5c79559d3ec88eb59705c19c4ead233c /src | |
parent | db2cc12fd07acb54b19cf6475f6d330a8b904e0a (diff) | |
download | bison-d7163c0a58fad051d90a6f83107c646c4408971c.tar.gz |
(symbol_get): Don't cast LHS of an assignment;
this is a GCC extension and is not portable to other compilers.
Diffstat (limited to 'src')
-rw-r--r-- | src/symtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/symtab.c b/src/symtab.c index 9280915e..7b313120 100644 --- a/src/symtab.c +++ b/src/symtab.c @@ -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) |