aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--symbol.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/symbol.c b/symbol.c
index d5489ec..a26d311 100644
--- a/symbol.c
+++ b/symbol.c
@@ -389,6 +389,9 @@ struct symbol *examine_symbol_type(struct symbol * sym)
case SYM_UNINITIALIZED:
warning(sym->pos, "ctype on uninitialized symbol %p", sym);
return NULL;
+ case SYM_RESTRICT:
+ examine_base_type(sym);
+ return sym;
default:
warning(sym->pos, "Examining unknown symbol type %d", sym->type);
break;