Home
last modified time | relevance | path

Searched refs:srcpos (Results 1 – 6 of 6) sorted by relevance

/scripts/dtc/
Dsrcpos.h70 struct srcpos { struct
78 #define YYLTYPE struct srcpos argument
103 extern struct srcpos srcpos_empty;
105 extern void srcpos_update(struct srcpos *pos, const char *text, int len);
106 extern struct srcpos *srcpos_copy(struct srcpos *pos);
107 extern char *srcpos_string(struct srcpos *pos);
109 extern void srcpos_verror(struct srcpos *pos, const char *prefix,
112 extern void srcpos_error(struct srcpos *pos, const char *prefix,
Dsrcpos.c204 struct srcpos srcpos_empty = {
214 void srcpos_update(struct srcpos *pos, const char *text, int len) in srcpos_update()
238 struct srcpos *
239 srcpos_copy(struct srcpos *pos) in srcpos_copy()
241 struct srcpos *pos_new; in srcpos_copy()
243 pos_new = xmalloc(sizeof(struct srcpos)); in srcpos_copy()
244 memcpy(pos_new, pos, sizeof(struct srcpos)); in srcpos_copy()
250 srcpos_string(struct srcpos *pos) in srcpos_string()
274 void srcpos_verror(struct srcpos *pos, const char *prefix, in srcpos_verror()
288 void srcpos_error(struct srcpos *pos, const char *prefix, in srcpos_error()
DMakefile.dtc13 srcpos.c \
DMakefile7 srcpos.o checks.o util.o
Ddtc-lexer.lex.c_shipped631 #include "srcpos.h"
Ddtc-parser.tab.c_shipped71 #include "srcpos.h"