Internal Compiler Error: empty source file!



  • So apparently, our in-house TTCN compiler crashes on empty files. Trivial problem, trivial workaround, but when the error message says "start expression stack underflow" without any more info - even filename - and the compiler is run via layers upon layers of shell scripts run via layers upon layers of makefiles, nothing is trivial. My colleague just lost three hours tracking down this issue.

    Anyway - just how much do you have to fuck up to have a compiler crash on empty file!? Isn't it like the very first test you might think of!?


  • sockdevs

    @Gąska said:

    Anyway - just how much do you have to fuck up to have a compiler crash on empty file!?

    have a programming language where an empty source file is not a valid source file?



  • @accalia It still shouldn't crash with a nonsensical internal error.


  • sockdevs

    @LB_ said:

    @accalia It still shouldn't crash with a nonsensical internal error.

    oh. you are on internal errors. That's different.


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.