Unchanged error message not display useful info

This commit is contained in:
Denis Merigoux 2020-04-25 19:46:21 +02:00
parent 2eafe6a041
commit 2780bd753d
3 changed files with 291 additions and 406 deletions

View File

@ -0,0 +1,21 @@
import re
error_state_regex = re.compile("\#\# Ends in an error in state\: (\d+)\.")
report_regex= re.compile("To get a better error messsage, file an issue at https\:\/\/github.com\/CatalaLang\/catala\/issues with this parser error token\: \$")
new_file_content = ""
with open('parser.messages') as messages:
error_state_number = 0
for cnt, line in enumerate(messages):
line = line.strip()
new_line = line
if error_state_regex.match(line):
error_state_number = error_state_regex.search(line).group(1)
continue
if report_regex.match(line):
new_line = "To get a better error messsage, file an issue at https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#{}".format(error_state_number)
new_file_content += new_line +"\n"
writing_file = open("parser.messages", "w")
writing_file.write(new_file_content)
writing_file.close()

File diff suppressed because it is too large Load Diff

View File

@ -7,542 +7,542 @@ let message s =
| 0 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#0\n"
| 1 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#1\n"
| 5 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#5\n"
| 275 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#275\n"
| 12 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#12\n"
| 13 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#13\n"
| 268 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#268\n"
| 271 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#271\n"
| 14 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#14\n"
| 16 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#16\n"
| 17 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#17\n"
| 18 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#18\n"
| 60 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#60\n"
| 157 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#157\n"
| 149 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#149\n"
| 158 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#158\n"
| 20 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#20\n"
| 151 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#151\n"
| 61 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#61\n"
| 63 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#63\n"
| 64 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#64\n"
| 162 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#162\n"
| 163 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#163\n"
| 165 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#165\n"
| 164 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#164\n"
| 166 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#166\n"
| 169 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#169\n"
| 22 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#22\n"
| 24 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#24\n"
| 25 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#25\n"
| 26 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#26\n"
| 27 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#27\n"
| 28 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#28\n"
| 170 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#170\n"
| 172 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#172\n"
| 173 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#173\n"
| 171 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#171\n"
| 21 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#21\n"
| 154 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#154\n"
| 182 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#182\n"
| 73 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#73\n"
| 74 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#74\n"
| 75 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#75\n"
| 76 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#76\n"
| 78 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#78\n"
| 79 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#79\n"
| 50 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#50\n"
| 51 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#51\n"
| 87 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#87\n"
| 124 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#124\n"
| 53 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#53\n"
| 101 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#101\n"
| 92 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#92\n"
| 89 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#89\n"
| 82 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#82\n"
| 103 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#103\n"
| 46 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#46\n"
| 47 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#47\n"
| 44 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#44\n"
| 35 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#35\n"
| 133 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#133\n"
| 134 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#134\n"
| 135 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#135\n"
| 141 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#141\n"
| 142 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#142\n"
| 138 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#138\n"
| 144 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#144\n"
| 139 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#139\n"
| 136 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#136\n"
| 36 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#36\n"
| 131 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#131\n"
| 54 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#54\n"
| 38 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#38\n"
| 127 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#127\n"
| 128 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#128\n"
| 129 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#129\n"
| 126 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#126\n"
| 39 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#39\n"
| 107 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#107\n"
| 108 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#108\n"
| 109 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#109\n"
| 110 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#110\n"
| 106 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#106\n"
| 178 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#178\n"
| 179 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#179\n"
| 180 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#180\n"
| 115 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#115\n"
| 116 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#116\n"
| 117 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#117\n"
| 118 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#118\n"
| 119 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#119\n"
| 113 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#113\n"
| 66 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#66\n"
| 67 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#67\n"
| 68 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#68\n"
| 43 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#43\n"
| 187 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#187\n"
| 189 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#189\n"
| 190 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#190\n"
| 191 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#191\n"
| 192 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#192\n"
| 193 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#193\n"
| 194 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#194\n"
| 195 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#195\n"
| 219 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#219\n"
| 212 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#212\n"
| 213 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#213\n"
| 205 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#205\n"
| 198 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#198\n"
| 217 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#217\n"
| 222 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#222\n"
| 223 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#223\n"
| 224 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#224\n"
| 225 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#225\n"
| 226 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#226\n"
| 227 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#227\n"
| 228 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#228\n"
| 231 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#231\n"
| 232 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#232\n"
| 233 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#233\n"
| 234 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#234\n"
| 238 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#238\n"
| 239 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#239\n"
| 240 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#240\n"
| 241 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#241\n"
| 242 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#242\n"
| 243 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#243\n"
| 236 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#236\n"
| 250 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#250\n"
| 252 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#252\n"
| 253 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#253\n"
| 254 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#254\n"
| 255 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#255\n"
| 256 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#256\n"
| 257 ->
"unexpected token\n\
To get a better error messsage, file an issue at \
https://github.com/CatalaLang/catala/issues with this parser error token: $\n"
https://github.com/CatalaLang/catala/issues with this parser error token: ERROR#257\n"
| 262 -> "inclusion does not concern content of enumeration cases\n"
| _ -> raise Not_found