HCoop
/
bpt
/
coccinelle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Release coccinelle-0.2.5-rc2
[bpt/coccinelle.git]
/
engine
/
check_exhaustive_pattern.ml
diff --git
a/engine/check_exhaustive_pattern.ml
b/engine/check_exhaustive_pattern.ml
index
d1272ae
..
1619532
100644
(file)
--- a/
engine/check_exhaustive_pattern.ml
+++ b/
engine/check_exhaustive_pattern.ml
@@
-65,6
+65,7
@@
let dumb_astcocci_rule_elem = function
| A.Return _ -> ()
| A.ReturnExpr (_, ea, _) -> ()
| A.DefineHeader _ -> ()
+ | A.Undef _ -> ()
| A.Include _ -> ()
| A.Default _ -> ()
| A.Case _ -> ()