parser:: error handling now uses exceptions

This commit is contained in:
Zeno Rogue committed 2019-12-23 21:44:51 +01:00
1 parent a83220c34e
commit 15000034fd
6 files changed
+63 -29

No files matched your search

+6 -1
View File
@@ -1577,7 +1577,12 @@ EX namespace patterns {
}
ep.s = formula;
return ep.parse();
try {
return ep.parse();
}
catch(hr_parse_exception& ex) {
return 0;
}
}
EX hookset<int(cell*)> *hooks_generate_canvas;