[Libguestfs] [PATCH libnbd 0/3] generator: Reset line directive after included code in lib/states.c
Richard W.M. Jones
rjones at redhat.com
Fri Dec 3 19:11:46 UTC 2021
On Fri, Dec 03, 2021 at 07:02:07PM +0000, Richard W.M. Jones wrote:
> This restores the #line directives (probably?) The output looks
> right, but I didn't test it beyond opening it in the editor. Do #line
> directives have a way to indicate "current file"?
What I mean is that if you have:
lib/states.c ----------------------------------------
#line 10 "generator/states.c"
...
#line 20
--------------------
does the second #line refer to generator/states.c or lib/states.c?
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
More information about the Libguestfs
mailing list