Ignore backups
This commit is contained in:
parent
07a1e5f0f3
commit
4b836ed2ea
|
@ -1 +1,2 @@
|
||||||
build/
|
build/
|
||||||
|
*~
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
#include <stdio.h>
|
|
||||||
#include "shared/functions.h"
|
|
||||||
#include "shared/functions/synthaxcheck.c"
|
|
||||||
|
|
||||||
int main() {
|
|
||||||
char errors[6][30] = {
|
|
||||||
"none",
|
|
||||||
"unmatched round bracket",
|
|
||||||
"unmatched curly bracket",
|
|
||||||
"unmatched single quote",
|
|
||||||
"unmatched double quote",
|
|
||||||
"unmatched square bracket"
|
|
||||||
};
|
|
||||||
int result;
|
|
||||||
if ((result = synthaxcheck()) == 0) {
|
|
||||||
printf("No synthax errors found!\n");
|
|
||||||
return 0;
|
|
||||||
} else {
|
|
||||||
printf("Sythax error found at line %i column %i\nReason: %s\n", unmline, unmcol, errors[result]);
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
}//)
|
|
Loading…
Reference in New Issue