3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-26 05:49:27 +01:00

C2English: no longer complain about unknown storage size

This commit is contained in:
Pragmatic Software 2019-05-22 23:11:09 -07:00
parent e617428a72
commit afddfbdbc5

View File

@ -382,6 +382,8 @@ if(not $force and $ret != 0) {
$output =~ s/\s*\(declared at .*?\)//g;
$output =~ s/, note: declared here//g;
$output =~ s#/usr/include/.*?.h:\d+:\d+:/##g;
$output =~ s/\s*error: storage size of.*?isn't known\s*//g;
$output =~ s/; did you mean '.*?'\?//g;
# don't error about undeclared objects
$output =~ s/error: '[^']+' undeclared\s*//g;