diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-01-13 20:37:46 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-01-13 20:37:46 -0800 |
commit | f711590ceae82493b8a87eba0bfaaed30af06c34 (patch) | |
tree | 5288cc5c75489c31d1542cc4904ae1881e8cb039 /eval.c | |
parent | d1d529634ca0efabd8def4d1e4d103facb9f9380 (diff) | |
download | txr-f711590ceae82493b8a87eba0bfaaed30af06c34.tar.gz txr-f711590ceae82493b8a87eba0bfaaed30af06c34.tar.bz2 txr-f711590ceae82493b8a87eba0bfaaed30af06c34.zip |
Pastes produced using :read are now numbered.
* parser.c (read_eval_read_last): New argument: counter.
Incorporate counter into name of stream.
(repl): Pass prev_counter into read_eval_read_last
so the paste inherits the line number of the :read
command.
Diffstat (limited to 'eval.c')
0 files changed, 0 insertions, 0 deletions