Update main.c

fixed typo
This commit is contained in:
SirTalksalot75 2024-04-22 12:57:49 +02:00 committed by GitHub
parent 6d249dd9ea
commit 4976aeb22f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 3 deletions

View File

@ -40,16 +40,15 @@ int main(void) {
FILE* input = fopen("program.gem", "r");
if (NULL == Input)
if (NULL == input)
{
ERROR("File couldn't be opened!");
atexit();
}
yyin = input;
yyparse();
atexit();
atexit(input);
return 0;
}