Commit 1cc75298 by Mark Mitchell Committed by Mark Mitchell

* cplus-dem.c (do_type): Handle volatile qualification.

From-SVN: r19932
parent 178ca02d
1998-05-21 Mark Mitchell <mmitchell@usa.net>
* cplus-dem.c (do_type): Handle volatile qualification.
Thu May 21 12:23:17 1998 Per Bothner <bothner@cygnus.com>
* function.c (init_function_start): Don't call emit_line_note if
......
......@@ -2640,7 +2640,7 @@ do_type (work, mangled, result)
break;
case 'C':
(*mangled)++;
case 'V':
/*
if ((*mangled)[1] == 'P')
{
......@@ -2651,8 +2651,10 @@ do_type (work, mangled, result)
{
string_prepend (&decl, " ");
}
string_prepend (&decl, "const");
string_prepend (&decl,
(**mangled) == 'C' ? "const" : "volatile");
}
(*mangled)++;
break;
/*
}
......
1998-05-21 Mark Mitchell <mmitchell@usa.net>
* cplus-dem.c (do_type): Handle volatile qualification.
1998-05-21 Manfred Hollstein <manfred@s-direktnet.de>
* configure.in: Check for unistd.h as well.
......
......@@ -2628,7 +2628,7 @@ do_type (work, mangled, result)
break;
case 'C':
(*mangled)++;
case 'V':
/*
if ((*mangled)[1] == 'P')
{
......@@ -2639,8 +2639,10 @@ do_type (work, mangled, result)
{
string_prepend (&decl, " ");
}
string_prepend (&decl, "const");
string_prepend (&decl,
(**mangled) == 'C' ? "const" : "volatile");
}
(*mangled)++;
break;
/*
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment