diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2003-04-11 18:53:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:00:30 -0700 |
| commit | 4cf5c5abfa3e3711e2b4f0c3b1e8378bfe645fe2 (patch) | |
| tree | 428cb94e067fa9f831600fd2533eeb8995533fbe /show-parse.c | |
| parent | 941fd98d91760b6a7e169c7d5ed13745fd5c08a3 (diff) | |
| download | sparse-dev-4cf5c5abfa3e3711e2b4f0c3b1e8378bfe645fe2.tar.gz | |
Don't show bad expression types.
Diffstat (limited to 'show-parse.c')
| -rw-r--r-- | show-parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/show-parse.c b/show-parse.c index e12c5711..94735899 100644 --- a/show-parse.c +++ b/show-parse.c @@ -309,7 +309,7 @@ static int show_return_stmt(struct statement *stmt) { struct expression *expr = stmt->expression; - if (expr) { + if (expr && expr->ctype) { int val = show_expression(expr); printf("\tmov.%d\t\tretval,v%d\n", expr->ctype->bit_size, val); |
