diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-11-30 14:19:03 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-11-30 14:19:03 -0800 |
commit | c6d7aca5df641e419f5b74d14b463901d63fc1f2 (patch) | |
tree | 4dd4411f919fc6a214242d0aee89e887b4f5e228 /parser.l | |
parent | b3ee9cdddd521d0ee87a114269fc683f93d215e0 (diff) | |
download | txr-c6d7aca5df641e419f5b74d14b463901d63fc1f2.tar.gz txr-c6d7aca5df641e419f5b74d14b463901d63fc1f2.tar.bz2 txr-c6d7aca5df641e419f5b74d14b463901d63fc1f2.zip |
Removing useless hash table.
* parser.h (ln_to_forms_hash): Declaration removed.
* parser.l (ln_to_forms_hash): Variable removed.
(parse_init): Initialization and protection of ln_to_forms_hash
removed.
* parser.y (rl): Update of ln_to_forms_hash removed.
* txr.1:
Diffstat (limited to 'parser.l')
-rw-r--r-- | parser.l | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -68,7 +68,6 @@ int opt_loglevel = 1; /* 0 - quiet; 1 - normal; 2 - verbose */ int errors; val form_to_ln_hash; -val ln_to_forms_hash; static val prepared_error_message; @@ -649,8 +648,7 @@ val source_loc(val form) void parse_init(void) { protect(&yyin_stream, &prepared_error_message, - &form_to_ln_hash, &ln_to_forms_hash, (val *) 0); + &form_to_ln_hash, (val *) 0); form_to_ln_hash = make_hash(t, nil, nil); - ln_to_forms_hash = make_hash(nil, t, nil); } |