Release coccinelle-0.1.6
[bpt/coccinelle.git] / parsing_c / cpp_ast_c.ml
index 3d711d6..ec8d3c7 100644 (file)
@@ -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)
@@ -125,8 +127,8 @@ let find_header_file1 cppopts dirname inc_file =
         then Some finalfile
         else None
       )
-  | Wierd s -> 
-      pr2 ("CPPAST: wierd include not handled:" ^ s);
+  | Weird s -> 
+      pr2 ("CPPAST: weird include not handled:" ^ s);
       []
 
 (* 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
       )
-  | Wierd s -> 
+  | Weird 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) -> 
-                    pr2 "wierd: first directive is not a ifdef";
-                    (* maybe not wierd, just that should_ifdefize 
+                    pr2 "weird: first directive is not a ifdef";
+                    (* maybe not weird, just that should_ifdefize 
                      * returned false *)
                     Visitor_c.vk_statement_sequencable_s bigf stseq::aux xs
                 )