Rev 5222 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5222 | Rev 6324 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /* input_file.c - Deal with Input Files - |
1 | /* input_file.c - Deal with Input Files - |
2 | Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1999, 2000, 2001, |
- | |
3 | 2002, 2003, 2005, 2006, 2007, 2009, 2012 |
- | |
4 | Free Software Foundation, Inc. |
2 | Copyright (C) 1987-2015 Free Software Foundation, Inc. |
Line 5... | Line 3... | ||
5 | 3 | ||
Line 6... | Line 4... | ||
6 | This file is part of GAS, the GNU Assembler. |
4 | This file is part of GAS, the GNU Assembler. |
7 | 5 | ||
Line 79... | Line 77... | ||
79 | can be restored with input_file_pop (). */ |
77 | can be restored with input_file_pop (). */ |
Line 80... | Line 78... | ||
80 | 78 | ||
81 | char * |
79 | char * |
82 | input_file_push (void) |
80 | input_file_push (void) |
83 | { |
81 | { |
Line 84... | Line 82... | ||
84 | register struct saved_file *saved; |
82 | struct saved_file *saved; |
Line 85... | Line 83... | ||
85 | 83 | ||
86 | saved = (struct saved_file *) xmalloc (sizeof *saved); |
84 | saved = (struct saved_file *) xmalloc (sizeof *saved); |
Line 98... | Line 96... | ||
98 | } |
96 | } |
Line 99... | Line 97... | ||
99 | 97 | ||
100 | void |
98 | void |
101 | input_file_pop (char *arg) |
99 | input_file_pop (char *arg) |
102 | { |
100 | { |
Line 103... | Line 101... | ||
103 | register struct saved_file *saved = (struct saved_file *) arg; |
101 | struct saved_file *saved = (struct saved_file *) arg; |
Line 104... | Line 102... | ||
104 | 102 | ||
105 | input_file_end (); /* Close out old file. */ |
103 | input_file_end (); /* Close out old file. */ |