* stabsread.c (read_type): Don't fall through 'S' case (the case it

was falling though happened to do the thing thing ("break;") but that
	is hardly a good thing to assume).
This commit is contained in:
Jim Kingdon 1993-12-24 20:43:29 +00:00
parent 8ba154e2f0
commit 7677d4fda4
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Fri Dec 24 14:23:57 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* stabsread.c (read_type): Don't fall through 'S' case (the case it
was falling though happened to do the thing thing ("break;") but that
is hardly a good thing to assume).
Tue Dec 21 13:32:02 1993 Per Bothner (bothner@kalessin.cygnus.com)
* ch-exp.y (match_dollar_tokens): Fix off-by-one bug.

View File

@ -1266,8 +1266,11 @@ read_type (pp, objfile)
if (type_size <= 0)
type_size = -1;
break;
case 'S':
is_string = 1;
break;
default:
/* Ignore unrecognized type attributes, so future compilers
can invent new ones. */