Cthulhu  0.2.10
Cthulhu compiler collection

Exit codes that match with GNU standard codes. More...

Collaboration diagram for Exit codes:

Macros

#define CT_EXIT_OK   0
 no user errors or internal errors More...
 
#define CT_EXIT_ERROR   1
 the user has made an error More...
 
#define CT_EXIT_SHOULD_EXIT   2
 the user has requested to exit the program More...
 
#define CT_EXIT_INTERNAL   99
 internal compiler errors have occurred More...
 

Detailed Description

Exit codes that match with GNU standard codes.

Used in tests and the cli.

Macro Definition Documentation

◆ CT_EXIT_ERROR

#define CT_EXIT_ERROR   1

the user has made an error

Definition at line 92 of file macros.h.

◆ CT_EXIT_INTERNAL

#define CT_EXIT_INTERNAL   99

internal compiler errors have occurred

Definition at line 94 of file macros.h.

◆ CT_EXIT_OK

#define CT_EXIT_OK   0

no user errors or internal errors

Definition at line 91 of file macros.h.

◆ CT_EXIT_SHOULD_EXIT

#define CT_EXIT_SHOULD_EXIT   2

the user has requested to exit the program

Definition at line 93 of file macros.h.