-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.h
35 lines (31 loc) · 625 Bytes
/
errors.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef __ERRORS_LIB
#define __ERRORS_LIB
/*
* Code file was not provided as an argument
*/
void errorUnexpectedArguments();
/*
* Left operand must be an lvalue
*/
void errorExpectedLValue();
/*
* Impossible to open file
*/
void errorImpossibleOpenFile(char const *s);
/*
* Impossible to load function
*/
void errorImpossibleLoadFunction(char const *s);
/*
* Name is already declared
*/
void errorAlreadyDeclared(char const *s);
/*
* A division by zero was encountered
*/
void errorDivisionByZero();
/*
* A syntax error was found during parsing
*/
void errorSyntax(char const *s);
#endif /* __ERRORS_LIB */