aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index 32b70e6..c6f616d 100644
--- a/gcc/cpplib.c
+++ b/gcc/cpplib.c
@@ -1884,13 +1884,14 @@ special_symbol (hp, pfile)
{
const char *buf;
int len;
+ cpp_buffer *ip;
switch (hp->type)
{
case T_FILE:
case T_BASE_FILE:
{
- cpp_buffer *ip = CPP_BUFFER (pfile);
+ ip = CPP_BUFFER (pfile);
if (hp->type == T_BASE_FILE)
{
while (CPP_PREV_BUFFER (ip) != CPP_NULL_BUFFER (pfile))
@@ -1915,7 +1916,7 @@ special_symbol (hp, pfile)
case T_INCLUDE_LEVEL:
{
int true_indepth = 0;
- cpp_buffer *ip = CPP_BUFFER (pfile);
+ ip = CPP_BUFFER (pfile);
for (; ip != CPP_NULL_BUFFER (pfile); ip = CPP_PREV_BUFFER (ip))
if (ip->fname != NULL)
true_indepth++;