mezum/emcc-loader

Some errors from emcc doesn't caught

nandenjin opened this issue · 0 comments

While debugging around #6 I got following error:

emcc: error: /Users/nandenjin/workspace/w201004/temp/main-337d9d50f3b27d616d464c12ee0ae7.bc: No such file or directory
("/Users/nandenjin/workspace/w201004/temp/main-337d9d50f3b27d616d464c12ee0ae7.bc" was expected to be an input file, based on the commandline arguments provided)

but it was not reported by the loader.

I found that it is because the message was not match messageHeaderRegexp in message.ts:

const messageHeaderRegexp = /^(.+):(\d+):(\d+): (\w+): (.+)$/;