SCCS-vsn: usr.bin/pascal/pdx/sym/printval.c 1.6
/* Copyright (c) 1982 Regents of the University of California */
/* Copyright (c) 1982 Regents of the University of California */
-static char sccsid[] = "@(#)printval.c 1.5 %G%";
+static char sccsid[] = "@(#)printval.c 1.6 %G%";
/*
* Print out the value at the top of the stack using the given type.
/*
* Print out the value at the top of the stack using the given type.
case RANGE:
if (s == t_real) {
case RANGE:
if (s == t_real) {
- printreal(pop(double));
} else if (s == t_char) {
printf("'%c'", pop(char));
} else if (s == t_boolean) {
} else if (s == t_char) {
printf("'%c'", pop(char));
} else if (s == t_boolean) {
* from "%g" in printf.
*/
* from "%g" in printf.
*/
double r;
{
extern char *index();
double r;
{
extern char *index();