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

From-SVN: r19932
This commit is contained in:
Mark Mitchell 1998-05-21 15:22:54 +00:00 committed by Mark Mitchell
parent 178ca02d83
commit 1cc7529801
4 changed files with 16 additions and 4 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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;
/*
}

View File

@ -1,3 +1,7 @@
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.

View File

@ -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;
/*
}