GCC Wikia
Advertisement

このページを編集する際は,編集に関する方針に従ってください.[]

概要[]

  • gcc-4.1.0/gcc/toplev.cにて定義
  • 処理中であったファイルをスタックから取り出し、取り出した場所へ移る

引数[]

  • void

実装[]

959 /* Pop the top entry off the stack of presently open source files.
960    Restore the INPUT_LOCATION from the new topmost entry on the
961    stack.  */
962 
963 void
964 pop_srcloc (void)
965 {

  • push_srclocで確保した領域を解放するために必要

966   struct file_stack *fs;
967 
968   fs = input_file_stack;
969   input_location = fs->location;
970   input_file_stack = fs->next;
971   free (fs);
972   input_file_stack_tick++;
973 }



リンク元

Advertisement