Internal Compiler Error: empty source file!


  • Banned

    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!?


  • FoxDev

    @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.


  • FoxDev

    @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