diff options
author | 2004-07-02 12:38:41 -0700 | |
---|---|---|
committer | 2005-04-07 21:02:10 -0700 | |
commit | 65cd063b8aecac823ac5c225195dab76b7330728 (patch) | |
tree | b7dca388214d415fc2aaa85d75ca53c8964db147 /inline.c | |
parent | [PATCH] small sparse additions (diff) | |
download | sparse-65cd063b8aecac823ac5c225195dab76b7330728.tar.gz sparse-65cd063b8aecac823ac5c225195dab76b7330728.tar.bz2 sparse-65cd063b8aecac823ac5c225195dab76b7330728.zip |
Handle EXPR_INDEX when copying expressions.
Easy enough to do, since these things don't change: just
return the original one.
Diffstat (limited to 'inline.c')
-rw-r--r-- | inline.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -186,6 +186,8 @@ static struct expression * copy_expression(struct expression *expr) } /* Identifier in member dereference is unchanged across a fn copy */ + /* As is an array index expression */ + case EXPR_INDEX: case EXPR_IDENTIFIER: break; |