072dea757c
* I added CLI option "--mono" to select the monolithic API of Menhir. * I added a field "win" to the state of the lexer (a two-token window for error reporting). * I escaped LIGO strings before making them OCaml strings (for example for printing).
417 lines
12 KiB
OCaml
417 lines
12 KiB
OCaml
|
|
(* This file was auto-generated based on "Parser.msg". *)
|
|
|
|
(* Please note that the function [message] can raise [Not_found]. *)
|
|
|
|
let message =
|
|
fun s ->
|
|
match s with
|
|
| 0 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 1 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 2 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 3 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 4 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 5 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 7 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 49 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 51 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 52 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 53 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 18 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 8 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 9 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 10 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 42 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 43 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 46 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 47 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 33 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 459 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 27 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 31 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 28 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 35 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 12 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 16 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 6 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 13 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 61 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 133 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 372 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 374 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 134 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 136 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 137 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 153 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 373 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 63 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 142 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 143 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 128 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 145 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 72 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 94 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 106 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 95 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 108 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 109 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 110 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 73 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 91 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 93 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 92 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 90 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 77 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 78 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 65 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 66 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 67 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 120 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 121 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 124 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 125 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 147 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 148 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 149 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 157 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 156 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 462 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 464 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 216 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 241 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 218 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 220 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 214 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 225 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 254 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 255 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 242 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 263 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 227 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 256 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 257 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 265 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 267 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 269 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 271 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 273 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 192 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 258 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 284 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 287 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 244 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 292 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 261 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 160 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 164 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 428 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 331 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 312 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 430 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 314 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 315 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 316 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 431 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 444 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 445 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 432 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 433 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 434 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 435 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 436 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 437 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 439 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 327 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 329 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 333 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 330 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 328 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 339 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 340 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 341 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 342 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 343 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 344 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 366 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 345 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 347 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 440 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 442 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 446 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 429 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 311 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 427 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 165 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 167 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 168 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 169 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 163 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 447 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 449 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 450 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 166 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 234 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 235 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 238 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 239 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 424 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 170 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 171 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 172 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 417 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 418 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 421 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 422 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 174 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 303 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 304 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 404 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 411 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 403 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 305 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 307 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 319 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 320 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 321 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 322 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 323 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 324 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 325 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 326 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 377 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 378 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 380 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 334 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 309 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 306 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 394 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 395 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 396 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 397 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 398 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 399 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 407 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 400 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 402 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 175 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 176 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 179 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 180 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 183 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 301 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 299 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 185 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 187 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 188 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 189 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 190 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 194 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 213 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 193 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| 209 ->
|
|
"<YOUR SYNTAX ERROR MESSAGE HERE>\n"
|
|
| _ ->
|
|
raise Not_found
|