diff options
Diffstat (limited to 'src/ctinput.cc')
-rw-r--r-- | src/ctinput.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ctinput.cc b/src/ctinput.cc index 53ff9b59..e11d94b5 100644 --- a/src/ctinput.cc +++ b/src/ctinput.cc @@ -68,6 +68,13 @@ void inputStreamSetEofSent( struct stream_impl_ct *si, char eof_sent ) si->eof_sent = eof_sent; } +void inputStreamTransferLoc( location_t *loc, struct stream_impl_ct *si ) +{ + loc->name = si->name; + loc->line = si->line; + loc->column = si->column; + loc->byte = si->byte; +} /* |