~ubuntu-branches/ubuntu/quantal/menhir/quantal

« back to all changes in this revision

Viewing changes to src/interpret.ml

  • Committer: Package Import Robot
  • Author(s): Mehdi Dogguy
  • Date: 2012-01-23 20:50:25 UTC
  • mfrom: (1.1.8) (2.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20120123205025-nd325ikf9gmqe1v7
Tags: 20120123.dfsg-1
* New upstream release
  - fixes http://caml.inria.fr/mantis/view.php?id=5462

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
            assert false
100
100
        end
101
101
    | None, None ->
102
 
        Error.error
 
102
        Error.error []
103
103
          "Because the grammar has multiple start symbols, each of the\n\
104
104
           sentences provided on the standard input channel must be of the\n\
105
105
           form: <start symbol>: <token>*"
169
169
      try
170
170
        SentenceParser.sentence SentenceLexer.lex lexbuf
171
171
      with Parsing.Parse_error ->
172
 
        Error.error_lexbuf lexbuf "Ill-formed input sentence."
 
172
        Error.error (Positions.lexbuf lexbuf) "Ill-formed input sentence."
173
173
    in
174
174
 
175
175
    let rec loop () =