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.1.6
[bpt/coccinelle.git]
/
parsing_c
/
cpp_ast_c.ml
diff --git
a/parsing_c/cpp_ast_c.ml
b/parsing_c/cpp_ast_c.ml
index
3d711d6
..
ec8d3c7
100644
(file)
--- a/
parsing_c/cpp_ast_c.ml
+++ b/
parsing_c/cpp_ast_c.ml
@@
-1,4
+1,6
@@
-(* Copyright (C) 2008, 2009 University of Urbana Champaign
+(* Yoann Padioleau
+ *
+ * Copyright (C) 2008, 2009 University of Urbana Champaign
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License (GPL)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License (GPL)
@@
-125,8
+127,8
@@
let find_header_file1 cppopts dirname inc_file =
then Some finalfile
else None
)
then Some finalfile
else None
)
- | W
ie
rd s ->
- pr2 ("CPPAST: w
ie
rd include not handled:" ^ s);
+ | W
ei
rd s ->
+ pr2 ("CPPAST: w
ei
rd include not handled:" ^ s);
[]
(* todo? can try find most precise ? first just use basename but
[]
(* todo? can try find most precise ? first just use basename but
@@
-148,7
+150,7
@@
let find_header_file2 inc_file =
[]
| x::y::xs -> res
)
[]
| x::y::xs -> res
)
- | W
ie
rd s ->
+ | W
ei
rd s ->
[]
[]
@@
-371,8
+373,8
@@
let rec cpp_ifdef_statementize ast =
Visitor_c.vk_statement_sequencable_s bigf stseq::aux xs
| IfdefDirective (((IfdefElseif|IfdefElse|IfdefEndif),b),ii) ->
Visitor_c.vk_statement_sequencable_s bigf stseq::aux xs
| IfdefDirective (((IfdefElseif|IfdefElse|IfdefEndif),b),ii) ->
- pr2 "w
ie
rd: first directive is not a ifdef";
- (* maybe not w
ie
rd, just that should_ifdefize
+ pr2 "w
ei
rd: first directive is not a ifdef";
+ (* maybe not w
ei
rd, just that should_ifdefize
* returned false *)
Visitor_c.vk_statement_sequencable_s bigf stseq::aux xs
)
* returned false *)
Visitor_c.vk_statement_sequencable_s bigf stseq::aux xs
)