~npalix/coccinelle/upstream

« back to all changes in this revision

Viewing changes to parsing_c/parsing_hacks.ml

  • Committer: Julia Lawall
  • Author(s): JPR
  • Date: 2019-05-27 02:01:12 UTC
  • Revision ID: git-v1:19ee1697bf152d37a78a20cefe148775bf4b0e0d
Fixing typos

Signed-off-by: Jean-Pierre Rodi <jprodi04@gmail.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
      if not (is_known s)
47
47
      then printer s
48
48
 
49
 
(* In the following, there are some harcoded names of types or macros
 
49
(* In the following, there are some hardcoded names of types or macros
50
50
 * but they are not used by our heuristics! They are just here to
51
51
 * enable to detect false positive by printing only the typedef/macros
52
52
 * that we don't know yet. If we print everything, then we can easily
627
627
  match xs with
628
628
  | [] ->
629
629
      (* job not done in Cpp_token_c.define_parse ? *)
630
 
      failwith "cant find end of define token TDefEOL"
 
630
      failwith "can't find end of define token TDefEOL"
631
631
  | x::xs ->
632
632
      (match x with
633
633
      | Parser_c.TDefEOL i ->