Home
last modified time | relevance | path

Searched refs:caret_info (Results 1 – 2 of 2) sorted by relevance

/external/bison/src/
Dlocation.c144 struct caret_info struct
151 static struct caret_info caret_info = { NULL, 1, 0 }; variable
156 if (caret_info.source) in cleanup_caret()
157 fclose (caret_info.source); in cleanup_caret()
165 if (! (caret_info.source in location_caret()
166 || (caret_info.source = fopen (loc.start.file, "r"))) in location_caret()
173 if (caret_info.line <= loc.start.line) in location_caret()
174 fseek (caret_info.source, caret_info.offset, SEEK_SET); in location_caret()
177 caret_info.line = 1; in location_caret()
178 caret_info.offset = 0; in location_caret()
[all …]
/external/bison/
DChangeLog171 (caret_info): Stylistic change.
250 * src/locations.c (caret_info): New, persistant information useful
253 (cleanup_caret): Release caret_info cleanly, call it...