summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/parse.c b/parse.c
index cb105ab..6cd14ed 100644
--- a/parse.c
+++ b/parse.c
@@ -2247,11 +2247,8 @@ static void fprint_expr(FILE *out, Expression *e) {
break;
case EXPR_PKG:
fprintf(out, "(pkg ");
- if (found_type) {
- fprint_ident(out, e->pkg.name_ident);
- } else {
- fprint_expr(out, e->pkg.name_expr);
- }
+ assert(!found_type);
+ fprint_expr(out, e->pkg.name_expr);
fprintf(out, ")");
break;
}