diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2018-11-14 15:24:49 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-11-14 15:24:49 +1100 |
commit | a3143fafbf83868748c99aa14daf274de5549826 (patch) | |
tree | 20ba91881fe53edc26d96ae5b80d0528a924b8e4 /srcpos.h | |
parent | 403cc79f06a135aee00f35cea975f068a72dbd92 (diff) | |
download | device-tree-compiler-a3143fafbf83868748c99aa14daf274de5549826.tar.gz |
Revert "annotations: add positions"
This reverts commit baa1d2cf7894a32bf2f640ef40ebce561b2df565.
Turns out this introduced memory badness. valgrind picks it up on
x86, but it straight out SEGVs on x86.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'srcpos.h')
-rw-r--r-- | srcpos.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -74,7 +74,6 @@ struct srcpos { int last_line; int last_column; struct srcfile_state *file; - struct srcpos *next; }; #define YYLTYPE struct srcpos @@ -106,8 +105,6 @@ extern struct srcpos srcpos_empty; extern void srcpos_update(struct srcpos *pos, const char *text, int len); extern struct srcpos *srcpos_copy(struct srcpos *pos); -extern struct srcpos *srcpos_extend(struct srcpos *new_srcpos, - struct srcpos *old_srcpos); extern char *srcpos_string(struct srcpos *pos); extern void PRINTF(3, 0) srcpos_verror(struct srcpos *pos, const char *prefix, |