diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-05-16 08:14:26 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-05-16 08:14:26 -0400 |
commit | ddd5a7c1808995545ad5befaa7320135e60b5d38 (patch) | |
tree | bf405c4941b111c08c0642d3410b2970aca3b162 /gcc/cplus-dem.c | |
parent | 6de129de79f7646825d5b004d9fdbca5b893d106 (diff) | |
download | gcc-ddd5a7c1808995545ad5befaa7320135e60b5d38.zip gcc-ddd5a7c1808995545ad5befaa7320135e60b5d38.tar.gz gcc-ddd5a7c1808995545ad5befaa7320135e60b5d38.tar.bz2 |
Fix typos in comments.
From-SVN: r9711
Diffstat (limited to 'gcc/cplus-dem.c')
-rw-r--r-- | gcc/cplus-dem.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/cplus-dem.c b/gcc/cplus-dem.c index b56e34e..30c5eab 100644 --- a/gcc/cplus-dem.c +++ b/gcc/cplus-dem.c @@ -163,11 +163,11 @@ static const struct optable {"compound", ", ", 0}, /* old */ {"cm", ", ", DMGL_ANSI}, /* ansi */ {"cond", "?:", 0}, /* old */ - {"cn", "?:", DMGL_ANSI}, /* psuedo-ansi */ + {"cn", "?:", DMGL_ANSI}, /* pseudo-ansi */ {"max", ">?", 0}, /* old */ - {"mx", ">?", DMGL_ANSI}, /* psuedo-ansi */ + {"mx", ">?", DMGL_ANSI}, /* pseudo-ansi */ {"min", "<?", 0}, /* old */ - {"mn", "<?", DMGL_ANSI}, /* psuedo-ansi */ + {"mn", "<?", DMGL_ANSI}, /* pseudo-ansi */ {"nop", "", 0}, /* old (for operator=) */ {"rm", "->*", DMGL_ANSI} /* ansi */ }; @@ -955,7 +955,7 @@ demangle_template (work, mangled, tname, trawname) break; default: /* it's probably user defined type, let's assume - it's integeral, it seems hard to figure out + it's integral, it seems hard to figure out what it really is */ done = is_integral = 1; } @@ -2397,10 +2397,9 @@ demangle_args (work, mangled, declp) { /* If we have 10 or more types we might have more than a 1 digit index so we'll have to consume the whole count here. This - will loose if the next thing is a type name preceeded by a + will lose if the next thing is a type name preceded by a count but it's impossible to demangle that case properly anyway. Eg if we already have 12 types is T12Pc "(..., type1, - anyway. Eg if we already have 12 types is T12Pc "(..., type1, Pc, ...)" or "(..., type12, char *, ...)" */ if ((t = consume_count(mangled)) == 0) { |