diff options
author | Adrian Thurston <thurston@colm.net> | 2018-12-02 13:07:46 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2018-12-02 13:07:46 -0500 |
commit | 779a96e143c9aaccebd24f5de48dee04e46aeab6 (patch) | |
tree | f40c0e56edc71e7c2ff122d54622b52301747037 /src/input.c | |
parent | c53140a12f434c08e01ef3c84cfd8456e6525531 (diff) | |
download | colm-779a96e143c9aaccebd24f5de48dee04e46aeab6.tar.gz |
make location file name and column available in Colm code
Diffstat (limited to 'src/input.c')
-rw-r--r-- | src/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input.c b/src/input.c index 99e65ec5..a0b7a337 100644 --- a/src/input.c +++ b/src/input.c @@ -475,7 +475,7 @@ static void input_prepend_data( struct colm_program *prg, struct input_impl_seq maybe_split( prg, si ); - struct stream_impl *sub_si = colm_impl_new_text( "<text>", data, length ); + struct stream_impl *sub_si = colm_impl_new_text( "<text1>", data, length ); struct seq_buf *new_buf = new_seq_buf(); new_buf->type = SB_ACCUM; @@ -557,7 +557,7 @@ static void input_append_data( struct colm_program *prg, struct input_impl_seq * if ( si->queue.tail == 0 || si->queue.tail->type != SB_ACCUM ) { debug( prg, REALM_INPUT, "input_append_data: creating accum\n" ); - struct stream_impl *sub_si = colm_impl_new_accum( "<text>" ); + struct stream_impl *sub_si = colm_impl_new_accum( "<text2>" ); struct seq_buf *new_buf = new_seq_buf(); new_buf->type = SB_ACCUM; |