diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-10-11 23:15:45 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-10-11 23:15:45 +0300 |
commit | 24a87761b4398c48d554ae44861b33a98c4c39e4 (patch) | |
tree | e2c719f29aa2f48afde056c1b1a508738d312520 /src/main.c | |
parent | 17372c73a7605c1a2815c7389259cab3b8443f3f (diff) | |
download | cflow-24a87761b4398c48d554ae44861b33a98c4c39e4.tar.gz cflow-24a87761b4398c48d554ae44861b33a98c4c39e4.tar.bz2 |
Final cleanup before the release.release-1_4
* NEWS: Update.
* README: Update.
* doc/cflow.texi: Update.
* src/main.c (symbol_override): pass allocated argument to install.
* src/parser.c (yyparse): Return 0.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -270,7 +270,7 @@ symbol_override(const char *str) | |||
270 | if (ptr[1] == '=') { | 270 | if (ptr[1] == '=') { |
271 | Symbol *alias = lookup(ptr+2); | 271 | Symbol *alias = lookup(ptr+2); |
272 | if (!alias) { | 272 | if (!alias) { |
273 | alias = install(ptr+2, INSTALL_OVERWRITE); | 273 | alias = install(xstrdup(ptr+2), INSTALL_OVERWRITE); |
274 | alias->type = SymToken; | 274 | alias->type = SymToken; |
275 | alias->token_type = 0; | 275 | alias->token_type = 0; |
276 | alias->source = NULL; | 276 | alias->source = NULL; |