File: exit_codes.txt

package info (click to toggle)
harec 0.25.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,420 kB
  • sloc: ansic: 19,905; asm: 247; makefile: 116; lisp: 80; sh: 45
file content (9 lines) | stat: -rw-r--r-- 324 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
When harec's exit code is non-zero, it indicates the stage at which compilation
failed. This is used pretty much exclusively in tests.

0 - success
1 - misc user-caused error (e.g. invalid arguments or unset typedef variables)
2 - lexing error
3 - parsing error
4 - checking error
255 - misc abnormal error (e.g. I/O error)