Ignore backups

This commit is contained in:
caskd 2019-10-30 21:24:25 +01:00
parent 07a1e5f0f3
commit 4b836ed2ea
No known key found for this signature in database
GPG Key ID: 79DB21404E300A27
2 changed files with 1 additions and 22 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
build/
*~

View File

@ -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;
}
}//)