aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dissect.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-07-19 00:54:57 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-07-22 18:02:45 +0200
commit4c6cbe557c48205f9b3d2aae4c166cd66446b240 (patch)
tree976730b6fc1b7944546f6def958b1681a836cac5 /dissect.c
parente140005c44ef962f5ee2a72735ea727e5db7f7f6 (diff)
downloadsparse-dev-4c6cbe557c48205f9b3d2aae4c166cd66446b240.tar.gz
add position to struct stream
Now that struct stream contains the parent's stream, it might as well contains the position so that all information about the parent is available. So, add a struct position to struct stream, initialize it with the information from the '#include' token (if there is one) and use this positions's ::stream as previous/parent stream. Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'dissect.c')
0 files changed, 0 insertions, 0 deletions