再生時間 01:25
Jurassic World: Dominion Dominates Fandom Wikis - The Loop
この動画はいかがでしたか?
再生する
このページを編集する際は,編集に関する方針に従ってください.[]
概要[]
引数[]
- const struct line_map *new_map
実装[]
213 void
214 fe_file_change (const struct line_map *new_map)
215 {
216 if (new_map == NULL)
217 return;
218
- ファイルが変わったのは新しくファイルと取り込むから
219 if (new_map->reason == LC_ENTER)
220 {
221 /* Don't stack the main buffer on the input stack;
222 we already did in compile_file. */
223 if (!MAIN_FILE_P (new_map))
224 {
225 #ifdef USE_MAPPED_LOCATION
226 int included_at = LAST_SOURCE_LINE_LOCATION (new_map - 1);
227
228 input_location = included_at;
229 push_srcloc (new_map->start_location);
230 #else
231 int included_at = LAST_SOURCE_LINE (new_map - 1);
232
233 input_line = included_at;
234 push_srcloc (new_map->to_file, 1);
235 #endif
236 (*debug_hooks->start_source_file) (included_at, new_map->to_file);
237 #ifndef NO_IMPLICIT_EXTERN_C
238 if (c_header_level)
239 ++c_header_level;
240 else if (new_map->sysp == 2)
241 {
242 c_header_level = 1;
243 ++pending_lang_change;
244 }
245 #endif
246 }
247 }
- ファイルが変わったのはファイルを抜けることになったから
248 else if (new_map->reason == LC_LEAVE)
249 {
250 #ifndef NO_IMPLICIT_EXTERN_C
251 if (c_header_level && --c_header_level == 0)
252 {
253 if (new_map->sysp == 2)
254 warning (0, "badly nested C headers from preprocessor");
255 --pending_lang_change;
256 }
257 #endif
258 pop_srcloc ();
259
260 (*debug_hooks->end_source_file) (new_map->to_line);
261 }
262
263 update_header_times (new_map->to_file);
264 in_system_header = new_map->sysp != 0;
265 #ifdef USE_MAPPED_LOCATION
266 input_location = new_map->start_location;
267 #else
268 input_filename = new_map->to_file;
269 input_line = new_map->to_line;
270 #endif
271 }