
(* This file was auto-generated based on "parser.messages". *)

(* Please note that the function [message] can raise [Not_found]. *)

let message =
  fun s ->
    match s with
    | 488 ->
        "Ill-formed statement or expression. A statement or expression could be expected here.\n"
    | 783 | 496 | 762 ->
        "Expected identifier after type in declaration.\n"
    | 17 ->
        "Expected non-array type after \"array\" declaration.\n"
    | 11 | 741 | 396 ->
        "Expected \"[\" array sizes \"]\" followed by type after \"array\".\n"
    | 397 ->
        "Expected expressions for size of array.\n"
    | 495 | 782 | 761 ->
        "Expected non-array type after \"array\" declaration.\n"
    | 540 ->
        "Only function definitions/declarations are expected in '.stanfunctions' file\n"
    | 0 ->
        "Function definitions/declarations expected in '.stanfunctions' file\n"
    | 722 ->
        "Expected identifier as part of top-level variable declaration.\n"
    | 325 ->
        "Ill-formed phrase. \"{\" should be followed by a statement, variable declaration or expression.\n"
    | 324 ->
        "Expected \"{\" after profile definition.\n"
    | 323 ->
        "Expected \")\" after profile name.\n"
    | 322 ->
        "Expected profile name as string in parenthesis\n"
    | 321 ->
        "Expected profile name as string in parenthesis\n"
    | 776 | 420 ->
        "Multiple declarations are not allowed when array dimensions are given in TYPE IDENTIFIER[DIMENSIONS] form.\nWhen all declarations share array dimensions, use 'array[DIMENSIONS] TYPE IDENTIFIER' form, otherwise use separate declarations.\n"
    | 409 | 748 | 746 | 407 ->
        "Expected a new identifier after comma in declaration.\nAll variables declared must be of the same type, and any initializing assignment must follow the identifier before the next comma.\n"
    | 749 | 745 | 756 ->
        "Cannot assign to variables in the `data` or `parameters` blocks; expected ';'\nafter variable declaration.\n"
    | 110 ->
        "Expected an expression inside \"[\" and \"]\" but found a statement. Indexing should look like\n  var[1 + i]\nnot\n  var[for (n in 1:N) ...]\n"
    | 580 | 570 ->
        "Missing an \">\"? Constraints on a vector declaration should be of the form\n  vector<lower=0.0, upper=1.0> var_name;\n"
    | 521 ->
        "'if (cond)' should be followed by '{' and statements to execute if true.\n"
    | 610 ->
        "Expected '>' after multiplier expression.\n"
    | 609 ->
        "Numerical expression expected after '=' in a multiplier expression.\n"
    | 608 ->
        "'=' expected after 'multiplier' keyword.\n"
    | 607 ->
        "Expected '>' or offset expression after multiplier expression.\n"
    | 606 ->
        "Expected '>' after multiplier expression.\n"
    | 596 ->
        "Expected '>' after lower expression.\n"
    | 595 ->
        "Numerical expression expected after '=' in a lower expression.\n"
    | 594 ->
        "'=' expected after 'upper' keyword.\n"
    | 593 ->
        "'>' or lower expression expected after upper expression.\n"
    | 574 ->
        "'>' or lower expression expected after upper expression.\n"
    | 775 ->
        "Expected  \";\" or assignment.\n"
    | 755 ->
        "Expected \";\".\n"
    | 419 ->
        "Expected  \";\" or assignment.\n"
    | 796 ->
        "We expect \"{\" after \"transformed parameters\".\n"
    | 797 ->
        "Expect a statement or top-level variable declaration.\n"
    | 801 ->
        "\"model {\" or \"generated quantities {\" expected after end of transformed parameters block.\n"
    | 768 ->
        "We expect \"{\" after \"transformed data\".\n"
    | 78 ->
        "After \"while\", we expect \"(\" expression \")\" statement.\n"
    | 79 ->
        "Ill-formed expression. We expect an expression after \"(\" for the test of the while-loop.\n"
    | 533 ->
        "Ill-formed expression. We expect an expression after \"(\" for the test of the while-loop.\n"
    | 534 ->
        "Ill-formed statement. We expect a statement after \")\", for the body of the while-loop.\n"
    | 282 ->
        "Ill-formed expression. We expect an expression after \"(\" for the test of the while-loop.\n"
    | 283 ->
        "Ill-formed statement. We expect a statement after \")\", for the body of the while-loop.\n"
    | 769 ->
        "Expect a statement or top-level variable declaration.\n"
    | 771 ->
        "Ill-formed top-level variable declaration. Expect an identifier next.\n"
    | 441 ->
        "Ill-formed expression. Found L-value \"*=\". Expect an expression followed by \";\" next.\n"
    | 444 ->
        "Ill-formed phrase. Found L-value \"*=\" expression. There are many ways in which this can be completed to a valid phrase.\n"
    | 442 ->
        "Ill-formed phrase. Found L-value \"*=\" expression. There are many ways in which this can be completed to a valid phrase.\n"
    | 446 ->
        "Ill-formed \"~\"-statement. Expected identifier for distribution name after \"~\".\n"
    | 447 ->
        "Ill-formed \"~\"-statement. Expected \"(\" followed by a comma-separated list of expressions followed by \")\" after distribution name.\n"
    | 448 ->
        "Ill-formed \"~\"-statement. Expected comma-separated list of expressions followed by \")\".\n"
    | 449 ->
        "Ill-formed \"~\"-statement. Expected \",\" or \")\".\n"
    | 450 ->
        "Ill-formed \"~\"-statement. Expected \";\" or \"T[\" optional expression \",\" optional expression \"];\".\n"
    | 451 ->
        "Ill-formed \"~\"-statement. Expected \";\".\n"
    | 440 ->
        "Ill-formed phrase. Found L-value. This can be completed in many ways.\n"
    | 453 ->
        "Ill-formed expression. Found L-value \"+=\". Expect an expression followed by \";\" next.\n"
    | 456 ->
        "Ill-formed phrase. Found L-value \"+=\" expression. There are many ways in which this can be completed to a valid phrase.\n"
    | 454 ->
        "Ill-formed phrase. Found L-value \"+=\" expression. There are many ways in which this can be completed to a valid phrase.\n"
    | 458 ->
        "Ill-formed expression. Found L-value \"-=\". Expect an expression followed by \";\" next.\n"
    | 461 ->
        "Ill-formed phrase. Found L-value \"-=\" expression. There are many ways in which this can be completed to a valid phrase.\n"
    | 459 ->
        "Ill-formed phrase. Found L-value \"-=\" expression. There are many ways in which this can be completed to a valid phrase.\n"
    | 489 ->
        "Ill-formed function application. Expect comma-separated list of expressions followed by \")\" after \"(\".\n"
    | 245 ->
        "Ill-formed function application. Expect comma-separated list of expressions followed by \")\" after \"(\".\n"
    | 490 ->
        "Ill-formed function application. Expect comma-separated list of expressions followed by \")\" after \"(\".\n"
    | 246 ->
        "Ill-formed conditional distribution evaluation. Expect comma-separated list of expressions followed by \")\" after \"|\".\n"
    | 247 ->
        "Ill-formed conditional distribution evaluation. Expect comma-separated list of expressions followed by \")\" after \"|\".\n"
    | 491 ->
        "Ill-formed phrase. Found a well-formed function application. After this, there are many legal completions of the phrase.\n"
    | 130 ->
        "Ill-formed function application. Expect comma-separated list of expressions followed by \")\" after \"(\".\n"
    | 240 ->
        "Ill-formed conditional distribution evaluation. Expect comma-separated list of expressions followed by \")\" after \"|\".\n"
    | 241 ->
        "Ill-formed conditional distribution evaluation. Expect comma-separated list of expressions followed by \")\" after \"|\".\n"
    | 466 ->
        "Ill-formed phrase. Found L-value \".*=\" expression. There are many ways in which this can be completed to a valid phrase.\n"
    | 464 ->
        "Ill-formed phrase. Found L-value \".*=\" expression. There are many ways in which this can be completed to a valid phrase.\n"
    | 468 ->
        "Ill-formed expression. Found L-value \"./=\". Expect an expression followed by \";\" next.\n"
    | 471 ->
        "Ill-formed phrase. Found L-value \"./=\" expression. There are many ways in which this can be completed to a valid phrase.\n"
    | 469 ->
        "Ill-formed phrase. Found L-value \"./=\" expression. There are many ways in which this can be completed to a valid phrase.\n"
    | 473 ->
        "Ill-formed expression. Found L-value \"/=\". Expect an expression followed by \";\" next.\n"
    | 476 ->
        "Ill-formed phrase. Found L-value \"/=\" expression. There are many ways in which this can be completed to a valid phrase.\n"
    | 474 ->
        "Ill-formed phrase. Found L-value \"/=\" expression. There are many ways in which this can be completed to a valid phrase.\n"
    | 478 ->
        "Ill-formed expression. Found L-value \"=\". Expect an expression followed by \";\" next.\n"
    | 481 ->
        "Ill-formed phrase. Found L-value \"=\" expression. There are many ways in which this can be completed to a valid phrase.\n"
    | 479 ->
        "Ill-formed phrase. Found L-value \"=\" expression. There are many ways in which this can be completed to a valid phrase.\n"
    | 483 ->
        "Ill-formed expression. Found L-value \"<-\". Expect an expression followed by \";\" next.\n"
    | 486 ->
        "Ill-formed phrase. Found L-value \"<-\" expression. There are many ways in which this can be completed to a valid phrase.\n"
    | 484 ->
        "Ill-formed phrase. Found L-value \"<-\" expression. There are many ways in which this can be completed to a valid phrase.\n"
    | 290 ->
        "Ill-formed phrase. Expect either \"+=\" or \"()\" after \"target\".\n"
    | 291 ->
        "Expected an expression followed by a \";\", after \"target +=\".\n"
    | 294 ->
        "Ill-formed expression. Expression followed by \";\" expected after \"target +=\".\n"
    | 292 ->
        "Ill-formed expression. Expression followed by \";\" expected after \"target +=\".\n"
    | 81 ->
        "Ill-formed expression. Expected \")\" after \"target(\".\n"
    | 303 ->
        "\";\" or expression followed by \";\" expected after \"return\".\n"
    | 127 ->
        "Ill-formed expression. Found identifier. There are many ways to complete this to a well-formed expression.\n"
    | 307 ->
        "Ill-formed return statement. \";\" or expression followed by \";\" expected after \"return\".\n"
    | 128 ->
        "Ill-formed expression. In function application, expect comma-separated list of expressions followed by \")\", after \"(\".\n"
    | 243 ->
        "Ill-formed expression. In function application, expect comma-separated list of expressions followed by \")\", after \"(\".\n"
    | 80 ->
        "Ill formed expression. After \"target\", we expect \"()\".\n"
    | 305 ->
        "Ill formed expression followed by \";\". Expect expression after \"return\".\n"
    | 88 ->
        "Expression expected after \"{\" in array expression.\n"
    | 270 ->
        "Expected either \",\" followed by expression or \"}\" next.\n"
    | 309 ->
        "Ill-formed reject statement. After \"reject(\", we expect a comma separated list of either expressions or strings, followed by \");\".\n"
    | 310 ->
        "Ill-formed reject statement. After \"reject(\", we expect a comma separated list of either expressions or strings, followed by \");\".\n"
    | 314 ->
        "Ill-formed reject statement. After \"reject(\", we expect a comma separated list of either expressions or strings, followed by \");\".\n"
    | 316 ->
        "Ill-formed printable. After \"print(\" and \"reject(\", we expect a comma separated list of either expressions or strings, followed by \");\".\n"
    | 317 ->
        "Ill-formed printable. After \"print(\" and \"reject(\", we expect a comma separated list of either expressions or strings, followed by \");\".\n"
    | 313 ->
        "Ill-formed printable. After \"reject(\", we expect a comma separated list of either expressions or strings, followed by \");\".\n"
    | 423 ->
        "Ill-formed \"~\"-statement. Expect an distribution name after \"~\".\n"
    | 424 ->
        "Ill-formed \"~\"-statement. Expect \"(\" after distribution name, followed by a comma separated list of expressions for arguments to the distribution, followed by \")\".\n"
    | 425 ->
        "Ill-formed \"~\"-statement. Expect a comma separated list of expressions for arguments to the distribution, followed by \")\".\n"
    | 426 ->
        "Ill-formed \"~\"-statement. Expect a comma separated list of expressions for arguments to the distribution, followed by \")\".\n"
    | 427 ->
        "Ill-formed \"~\"-statement. Expect either \";\" or a truncation with the format \"T[\" optional expression \",\" optional expression \"];\".\n"
    | 428 ->
        "Ill-formed truncation. Expect the format \"T[\" optional expression \",\" optional expression \"];\".\n"
    | 429 ->
        "Ill-formed truncation. Expect the format \"T[\" optional expression \",\" optional expression \"];\".\n"
    | 435 ->
        "Ill-formed expression. Found an expression. Expect a infix or postfix operator or \"[\" or \"]\" or \",\" next.\n"
    | 430 ->
        "Ill-formed truncation. Expect the format \"T[\" optional expression \",\" optional expression \"];\".\n"
    | 434 ->
        "Ill-formed expression. Found an expression. Expect a infix or postfix operator or \"[\" or \"]\" or \",\" next.\n"
    | 431 ->
        "Ill-formed truncation. Expect the format \"T[\" optional expression \",\" optional expression \"];\".\n"
    | 432 ->
        "Ill-formed truncation. Expect the format \"T[\" optional expression \",\" optional expression \"];\".\n"
    | 437 ->
        "Expected \";\" after \"~\"-statement (with optional truncation).\n"
    | 252 ->
        "Ill-formed expression. Expected expression or \"]\" or \",\" after \":\".\n"
    | 261 ->
        "Expected index after indices followed by \",\".\n"
    | 98 ->
        "Ill-formed expression. Expected expression or \"]\" or \",\" after \":\".\n"
    | 266 ->
        "Ill-formed phrase. Found \":\" expression. We expect either an infix or postfix operator, or \",\" or or \"[\" or \"]\" next.\n"
    | 99 ->
        "Ill-formed phrase. Found \":\" expression. We expect either an infix or postfix operator, or \",\" or or \"[\" or \"]\" next.\n"
    | 180 ->
        "Ill-formed expression. Expected expression after expression followed by \"<\".\n"
    | 104 ->
        "Ill-formed expression. Expected expression after expression followed by \"^\".\n"
    | 183 ->
        "Ill-formed expression. Expected expression after expression followed by \">=\".\n"
    | 199 ->
        "Ill-formed expression. Expected expression after expression followed by \"==\".\n"
    | 139 ->
        "Ill-formed expression. Expected expression after expression followed by \".*\".\n"
    | 149 ->
        "Ill-formed expression. Expected expression after expression followed by \"./\".\n"
    | 152 ->
        "Ill-formed expression. Expected expression after expression followed by \"/\".\n"
    | 118 ->
        "Ill-formed expression. Expected expression after expression followed by \"%/%\".\n"
    | 202 ->
        "Ill-formed expression. Expected expression after expression followed by \"&&\".\n"
    | 169 ->
        "Looks like\n"
    | 318 | 319 ->
        "Got an incomplete statement - are you missing a paren or semi-colon?\n"
    | 220 | 219 | 227 | 226 | 218 | 215 | 132 | 231 | 230 | 131 ->
        "Found an incomplete ternary expression, should be \"(condition) ? (true branch) : (false branch)\".\nDid you forget to add a colon or a false branch?\nFor example, this returns 3.0:\n  1 ? 0.0 : 3.0\n"
    | 102 | 137 | 114 | 133 | 135 | 116 | 171 | 112 | 100 | 212 | 168 | 165 | 162 | 208 | 196 | 121 | 193 | 142 | 190 | 177 | 159 | 205 | 463 | 223 | 174 | 187 | 156 | 579 | 569 | 146 | 124 | 106 ->
        "Found an incomplete binary expression - are you missing the right hand side?\n"
    | 257 | 253 | 254 | 111 | 258 | 256 | 203 | 97 ->
        "Found an ill-formed expression where we expected a statement. Did you forget to close your \"[\"?\n"
    | 204 | 153 | 154 | 150 | 103 | 151 | 140 | 141 | 200 | 201 | 184 | 185 | 105 | 263 | 181 | 182 | 264 | 172 | 173 | 138 | 155 | 117 | 249 | 136 | 186 | 134 | 211 | 115 | 250 | 216 | 217 | 232 | 233 | 113 | 251 | 101 | 265 | 422 | 213 | 214 | 170 | 166 | 167 | 163 | 164 | 209 | 210 | 197 | 198 | 122 | 123 | 194 | 195 | 143 | 144 | 191 | 192 | 178 | 179 | 160 | 161 | 206 | 207 | 224 | 225 | 175 | 176 | 228 | 229 | 188 | 189 | 157 | 158 | 222 | 221 | 148 | 147 | 126 | 125 | 120 | 119 | 108 | 107 ->
        "Found a expression where we expected a statement. Is there a missing semi-colon here?\nOr did you mean to use the preceding expression in:\n* a function call\n* a sampling statement\n* the conditional in a for, while, or if statement\n* assignment to a variable?\n"
    | 774 ->
        "\";\" or plain assignment is expected after a top-level variable declaration.\n"
    | 789 ->
        "Expected \"parameters {\", \"transformed parameters {\", \"model {\", \"generated quantities {\" or end-of-file after end of transformed data block.\n"
    | 326 ->
        "Expected \"(\" followed by a comma-separated list of expressions or strings followed by \");\" after \"print\".\n"
    | 327 ->
        "Expected a comma-separated list of expressions or strings followed by \");\" after \"print(\".\n"
    | 329 ->
        "Expected a \";\" after \"print(...)\".\n"
    | 328 ->
        "Expected a comma-separated list of expressions or strings followed by \");\" after \"print(\".\n"
    | 84 ->
        "Ill-formed expression. Expect an expression after \"+\".\n"
    | 281 ->
        "Ill-formed expression. Found an expression. Expect an infix or postfix operator or \"[\" or \"~\" or \"]\" or \";\".\n"
    | 280 ->
        "Ill-formed expression. Found an expression. Expect an infix or postfix operator or \"[\" or \"~\" or \"]\" or \";\".\n"
    | 85 ->
        "Ill-formed expression. Expect an expression after \"-\".\n"
    | 279 ->
        "Ill-formed expression. Found an expression. Expect an infix or postfix operator or \"[\" or \"~\" or \"]\" or \";\".\n"
    | 278 ->
        "Ill-formed expression. Found an expression. Expect an infix or postfix operator or \"[\"\n"
    | 86 ->
        "Expression expected after \"(\".\n"
    | 276 ->
        "Ill-formed phrase. Found \"(\" followed by expression. Expect a \"[\", \",\" or \")\" or an infix or postfix operator.\n"
    | 274 ->
        "Expression or range of expressions followed by \")\" expected after \"(\".\n"
    | 87 ->
        "Comma separated list of expressions followed by \"]\" expected after \"[\".\n"
    | 237 ->
        "Ill-formed phrase. We found an L-value. Parse failed on token after the L-value.\n"
    | 398 | 255 | 272 ->
        "Ill-formed expression. We expect a comma separated list of expressions, followed by \"]\".\n"
    | 238 ->
        "Ill-formed expression. We expect a comma separated list of expressions.\n"
    | 236 ->
        "Ill-formed phrase. Found an expression. This can be followed by a \",\", a \"}\", a \")\", a \"]\", a \"[\" or an infix or postfix operator.\n"
    | 345 ->
        "Ill-formed phrase. \"{\" should be followed by a statement, variable declaration or expression.\n"
    | 529 ->
        "Ill-formed phrase. Found an L-value. This can be followed by a \"~\", a \",\", a \"}\", a \"[\" or an infix or postfix operator or an assignment operator.\n"
    | 526 ->
        "Ill-formed phrase. Found an expression. This can be followed by a \"~\", a \",\", a \"}\", a \"[\" or an infix or postfix operator.\n"
    | 234 ->
        "Ill-formed expression. Expected a comma-separated list of expressions.\n"
    | 347 ->
        "Ill-formed statement. Expected \"(\" followed by an expression and \");\", after \"increment_log_prob\".\n"
    | 348 ->
        "Ill-formed statement. Expected expression followed by \");\" after \"(\".\n"
    | 352 ->
        "Ill-formed statement. Expected expression followed by \");\" after \"(\".\n"
    | 353 ->
        "Ill-formed statement. Expected \";\" after \")\".\n"
    | 349 ->
        "Ill-formed statement. Expected expression followed by \");\" after \"(\".\n"
    | 350 ->
        "Ill-formed statement. Expected \";\" after \")\".\n"
    | 355 ->
        "\"(\" expression \")\" expected after \"if\".\n"
    | 356 ->
        "Expected expression for test of conditional control flow construct.\n"
    | 519 ->
        "Ill-formed expression. Expression expected after \"(\", for test of conditional control flow construct.\n"
    | 520 ->
        "Ill-formed statement. Expected statement after \")\" for true branch of conditional.\n"
    | 522 ->
        "Ill-formed statement. Expected statement after else.\n"
    | 357 ->
        "Expected \")\" after test expression of conditional control flow construct.\n"
    | 358 ->
        "Ill-formed statement. Statement expected for true branch of conditional.\n"
    | 770 | 516 ->
        "Ill-formed block. Expected a statement, variable declaration, or just \"}\".\n"
    | 517 ->
        "Ill-formed statement. Expected statement after \"else\".\n"
    | 91 ->
        "Expected \"()\" after \"get_lp\".\n"
    | 92 ->
        "Expected \")\" after \"get_lp(\".\n"
    | 359 ->
        "Expected \"(\" after \"for\".\n"
    | 360 ->
        "Expected (loop) identifier after \"(\".\n"
    | 361 ->
        "Expected \"in\" after loop identifier.\n"
    | 362 ->
        "Ill-formed expression. Expected expression followed by \")\" or \":\" after \"for (\" identifier \"in\".\n"
    | 506 ->
        "Ill-formed expression. Expected expression followed by \")\" or \":\" after \"for (\" identifier \"in\".\n"
    | 507 ->
        "Ill-formed statement. Expected statement after \")\" for the loop body of the foreach loop.\n"
    | 509 ->
        "Ill-formed expression. Expected expression followed by \")\" after \"for (\" identifier \"in\" expression \":\".\n"
    | 513 ->
        "Ill-formed expression. Expected expression followed by \")\" after \"for (\" identifier \"in\" expression \":\".\n"
    | 514 ->
        "Ill-formed statement. Expected statement after \")\" for the loop body of the for loop.\n"
    | 510 ->
        "Ill-formed expression. Expected expression followed by \")\" after \"for (\" identifier \"in\" expression \":\".\n"
    | 511 ->
        "Ill-formed statement. Expected statement after \")\" for the loop body of the for loop.\n"
    | 363 ->
        "Ill-formed expression. Expected expression after \"for (\" identifier \"in\".\n"
    | 364 ->
        "Ill-formed statement. Expected statement after \")\" for the loop body of the foreach loop.\n"
    | 499 ->
        "Ill-formed expression. Expected expression followed by \")\" after \"for (\" identifier \"in\" expression \":\".\n"
    | 503 ->
        "Ill-formed expression. Expected expression followed by \")\" after \"for (\" identifier \"in\" expression \":\".\n"
    | 504 ->
        "Ill-formed statement. Expected statement after \")\"  for the loop body of the for loop.\n"
    | 500 ->
        "Ill-formed expression. Expected expression followed by \")\" after \"for (\" identifier \"in\" expression \":\".\n"
    | 501 ->
        "Ill-formed statement. Expected statement after \")\"  for the loop body of the for loop..\n"
    | 365 ->
        "Expected \";\" after \"continue\".\n"
    | 394 ->
        "Expected \";\" after \"break\".\n"
    | 94 ->
        "Ill-formed expression. Expression expected after \"!\".\n"
    | 269 ->
        "Ill-formed expression. Expression expected after \"!\".\n"
    | 95 ->
        "Ill-formed expression. Expression expected after \"!\".\n"
    | 790 ->
        "Expected \"{\" after \"parameters\".\n"
    | 791 ->
        "Expected top-level variable declaration or \"}\".\n"
    | 795 ->
        "\"transformed parameters {\", \"model {\" or \"generated quantities {\" expected after end of parameters block.\n"
    | 802 ->
        "Expected \"{\" after \"model\".\n"
    | 803 ->
        "Variable declaration, statement or \"}\" expected.\n"
    | 524 ->
        "Variable declaration, statement or \"}\" expected.\n"
    | 375 | 377 | 374 | 373 | 705 | 702 | 700 | 703 | 701 | 299 | 301 | 647 | 644 | 642 | 297 | 645 | 643 | 298 ->
        "Expected \"[\" expression \"]\" for row vector size.\n"
    | 403 ->
        "Identifier expected after sized type in local (or model block) variable declaration. (No transformations/constraints allowed.)\n"
    | 415 ->
        "\";\" or plain assignment expected after variable declaration.\n"
    | 416 ->
        "Ill-formed array sizes. \"[\" (non-empty comma separated list of expressions) \"]\" expected to specify array sizes.\n"
    | 417 ->
        "Ill-formed array sizes. \"[\" (non-empty comma separated list of expressions) \"]\" expected to specify array sizes.\n"
    | 410 ->
        "Ill-formed expression. Expression followed by \";\" expected after \"=\".\n"
    | 412 ->
        "Ill-formed expression. Expression followed by \";\" expected after \"=\".\n"
    | 411 ->
        "Ill-formed expression. Expression followed by \";\" expected after \"=\".\n"
    | 806 ->
        "Expected \"generated quantities {\" or end of file after end of model block.\n"
    | 807 ->
        "Expected \"{\" after block keyword.\n"
    | 808 ->
        "Variable declaration or statement or \"}\" expected in generated quantities block.\n"
    | 811 ->
        "Expected end of file after end of generated quantities block.\n"
    | 546 ->
        "\"{\" expected after \"functions\".\n"
    | 547 ->
        "Function forward declaration, definition or \"}\" expected after \"functions {\".\n"
    | 20 ->
        "An identifier is expected as a function name.\n"
    | 66 ->
        "\"(\" expected after function name.\n"
    | 71 ->
        "An identifier is expected as a function argument name.\n"
    | 537 ->
        "\",\" or \")\" expected after function argument declaration.\n"
    | 67 | 538 ->
        "An argument declaration (unsized and unconstrained type followed by identifier) is expected.\n"
    | 77 ->
        "Either \"{\" statement \"}\" is expected for a function definition or \";\" for a function forward declaration.\n"
    | 70 ->
        "An identifier is expected as a function argument name.\n"
    | 548 | 543 ->
        "A \"}\" or a function definition/declaration is expected.\n"
    | 73 ->
        "Either a number of unsized dimensions is expected as part of a function return type or an identifier is expected as a function name.\n"
    | 12 ->
        "\"[\" (list of commas) \"]\" expected in unsized return type of function definition.\n"
    | 13 ->
        "List of commas expected.\n"
    | 551 ->
        "Expected \"data {\" or \"transformed data {\" or \"parameters {\" or \"transformed parameters {\" or \"model {\" or \"generated quantities {\".\n"
    | 552 ->
        "\"{\" followed by a list of top-level variable declarations is expected after seeing \"data\".\n"
    | 553 ->
        "Invalid type in declaration. Valid types:\n  int, real, vector, row_vector, matrix,\n  unit_vector, simplex, ordered, positive_ordered,\n  corr_matrix, cov_matrix, cholesky_factor_corr, cholesky_factor_cov\noptionally preceded by a single array[...]\n"
    | 742 ->
        "We expect to see an identifier after a sized type.\n"
    | 555 ->
        "We expect to see \"lower =\", \"upper =\", \"offset =\" or \"multiplier =\" followed by an expression after \"<\".\n"
    | 556 ->
        "Expect \"=\" expression \">\" after seeing \"upper\".\n"
    | 557 ->
        "Expression (not containing binary logical operators) expected after \"upper =\". Ill-formed expression.\n"
    | 561 ->
        "Expression expected. Ill-formed expression. Suggested alternatives: a standalone identifier, a function application, an identifier followed by an operator or an identifier followed by an index.\n"
    | 575 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 576 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 581 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 582 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 583 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 584 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 591 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 592 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 577 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 578 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 564 ->
        "Ill-formed expression. Expected expression followed by \"]\".\n"
    | 567 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 568 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 585 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 586 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 587 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 588 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 589 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 590 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 558 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 573 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 559 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 572 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 560 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 562 ->
        "Ill-formed expression. Expected expression (not containing binary logical operators).\n"
    | 604 ->
        "Expected \"=\" expression (not containing binary logical operators) \">\" after \"multiplier\".\n"
    | 605 ->
        "Expected expression (not containing binary logical operators) after \"multiplier =\".\n"
    | 369 | 371 | 368 | 367 | 694 | 696 | 698 | 695 | 693 | 286 | 288 | 285 | 284 | 624 | 626 | 623 | 554 | 622 ->
        "Expected \"[\" expression \"]\" for vector size.\n"
    | 611 ->
        "Expected \"=\" expression (not containing binary logical operators), after \"lower\".\n"
    | 612 ->
        "An expression (not containing binary logical operators) is expected for type lower bound.\n"
    | 614 ->
        "\"upper =\" expression (not containing binary logical operators) \">\" expected after \"<lower =\" expression \",\" in top-level variable declaration.\n"
    | 615 ->
        "Expected \"=\" expression (not containing binary logical operators) after \"upper\".\n"
    | 616 ->
        "Expected expression (not containing binary logical operators) after \"upper = \".\n"
    | 617 ->
        "Expected \">\" after \"upper = \" expression.\n"
    | 613 ->
        "\">\" or \", upper = expression>\" (with expression not containing binary logical operators) expected after specifying lower bound for type.\n"
    | 597 ->
        "Expected \"offset = \" expression (not containing binary logical operators).\n"
    | 598 ->
        "Expected \"offset = \" expression (not containing binary logical operators).\n"
    | 600 ->
        "Expected \">\" or \", multiplier = \" expression (not containing binary logical operators) \">\" after \"offset = \" expression.\n"
    | 601 ->
        "Expected \"multiplier = \" expression (not containing binary logical operators).\n"
    | 602 ->
        "Expected \"multiplier = \" expression (not containing binary logical operators).\n"
    | 603 ->
        "Expected \">\" after \"multiplier = \" expression.\n"
    | 599 ->
        "Expected \"offset = \" expression (not containing binary logical operators).\n"
    | 629 ->
        "Expected \"[\" expression \"]\" for size declaration of unit_vector.\n"
    | 630 ->
        "Expected \"[\" expression \"]\" for size declaration of unit_vector.\n"
    | 633 ->
        "Expected \"[\" expression \"]\" for size declaration of unit_vector.\n"
    | 631 ->
        "Expected \"[\" expression \"]\" for size declaration of unit_vector.\n"
    | 635 ->
        "Expected \"[\" expression \"]\" for size declaration of simplex.\n"
    | 636 ->
        "Expected \"[\" expression \"]\" for size declaration of simplex.\n"
    | 639 ->
        "Expected \"[\" expression \"]\" for size declaration of simplex.\n"
    | 637 ->
        "Expected \"[\" expression \"]\" for size declaration of simplex.\n"
    | 649 ->
        "Identifier expected after type in top-level variable declaration.\n"
    | 754 ->
        "\";\" is expected after a top-level variable declaration.\n"
    | 758 ->
        "Only top-level variable declarations allowed in data and parameters blocks.\n"
    | 767 ->
        "Expected \"transformed data {\" or \"parameters {\" or \"transformed parameters {\" or \"model {\" or \"generated quantities {\".\n"
    | 651 ->
        "Expected \"[\" expression \"]\" for size of positive_ordered.\n"
    | 652 ->
        "Expected \"[\" expression \"]\" for size of positive_ordered.\n"
    | 655 ->
        "Expected \"[\" expression \"]\" for size of positive_ordered.\n"
    | 653 ->
        "Expected \"[\" expression \"]\" for size of positive_ordered.\n"
    | 657 ->
        "Expected \"[\" expression \"]\" for size of ordered.\n"
    | 658 ->
        "Expected \"[\" expression \"]\" for size of ordered.\n"
    | 661 ->
        "Expected \"[\" expression \"]\" for size of ordered.\n"
    | 659 ->
        "Expected \"[\" expression \"]\" for size of ordered.\n"
    | 383 | 385 | 382 | 381 | 389 | 391 | 388 | 387 | 380 | 379 | 707 | 720 | 717 | 716 | 709 | 711 | 710 | 718 | 714 | 708 | 664 | 712 | 335 | 337 | 334 | 333 | 341 | 343 | 340 | 339 | 332 | 331 | 670 | 667 | 666 | 674 | 676 | 673 | 672 | 665 | 663 | 668 ->
        "Expected \"[\" expression \",\" expression \"]\" for sizes of matrix.\n"
    | 678 ->
        "Expected range constraint or identifier as part of top-level variable declaration.\n"
    | 679 ->
        "Expected \"lower = \" expression or \"upper = \" expression for integer bounds.\n"
    | 681 ->
        "Expected \"[\" expression \"]\" for size of cov_matrix.\n"
    | 682 ->
        "Expected \"[\" expression \"]\" for size of cov_matrix.\n"
    | 685 ->
        "Expected \"[\" expression \"]\" for size of cov_matrix.\n"
    | 683 ->
        "Expected \"[\" expression \"]\" for size of cov_matrix.\n"
    | 687 ->
        "Expected \"[\" expression \"]\" for size of corr_matrix.\n"
    | 688 ->
        "Expected \"[\" expression \"]\" for size of corr_matrix.\n"
    | 691 ->
        "Expected \"[\" expression \"]\" for size of corr_matrix.\n"
    | 689 ->
        "Expected \"[\" expression \"]\" for size of corr_matrix.\n"
    | 724 | 732 | 725 ->
        "Expected \"[\" expression \"]\" or \"[\" expression \",\" expression \"]\" for size of cholesky_factor_cov.\n"
    | 727 ->
        "Expected comma separated list of expressions. Ill-formed expression.\n"
    | 729 ->
        "Expected comma separated list of expressions. Ill-formed expression.\n"
    | 728 ->
        "Expected comma separated list of expressions. Ill-formed expression.\n"
    | 726 ->
        "Expected \"[\" expression \"]\" or \"[\" expression \",\" expression \"]\" for size of cholesky_factor_cov.\n"
    | 737 | 739 | 736 | 735 ->
        "Expected \"[\" expression \"]\" for size of cholesky_factor_corr.\n"
    | 545 ->
        "Expected \"functions {\" or \"data {\" or \"transformed data {\" or \"parameters {\" or \"transformed parameters {\" or \"model {\" or \"generated quantities {\".\n"
    | _ ->
        raise Not_found
