diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-17 16:39:34 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:06:14 -0700 |
| commit | fb35900d416ca96e9dd414eab056ae22004e3120 (patch) | |
| tree | c82db233417498838edd9c99a95640ce79fa8d35 /expression.h | |
| parent | 2235458dce3d09df1f96e5bb514258311e2b79d8 (diff) | |
| download | sparse-dev-fb35900d416ca96e9dd414eab056ae22004e3120.tar.gz | |
Make expression type enums start at one..
This is what we do for most enums, making it clear
that a zero means "uninitialized", since that easily
happens with our zeroing allocator.
Diffstat (limited to 'expression.h')
| -rw-r--r-- | expression.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/expression.h b/expression.h index 6f244fc6..bd81d371 100644 --- a/expression.h +++ b/expression.h @@ -16,7 +16,7 @@ struct expression_list; enum expression_type { - EXPR_VALUE, + EXPR_VALUE = 1, EXPR_STRING, EXPR_SYMBOL, EXPR_TYPE, |
