Searched refs:caret_info (Results 1 – 2 of 2) sorted by relevance
144 struct caret_info struct151 static struct caret_info caret_info = { NULL, 1, 0 }; variable156 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 …]
171 (caret_info): Stylistic change.250 * src/locations.c (caret_info): New, persistant information useful253 (cleanup_caret): Release caret_info cleanly, call it...