Project

General

Profile

Revision 9b0432bc lib/parsers/parse.ml

View differences:

lib/parsers/parse.ml
51 51
    Parsing.clear_parser ();
52 52
    ast
53 53
  with
54
  | Parsing.Parse_error ->
54
  | Parser_lustre.Error ->
55 55
    let loc = Location.curr lexbuf in
56 56
    raise (Error (loc, Syntax_error))
57 57

  
......
61 61
    Parsing.clear_parser ();
62 62
    ast
63 63
  with
64
  | Parsing.Parse_error ->
64
  | Parser_lustre.Error ->
65 65
    let loc = Location.curr lexbuf in
66 66
    raise (Error (loc, Syntax_error))
67 67

  

Also available in: Unified diff