Update main.c
changed close_file Function changed ERROR to PANIC
This commit is contained in:
parent
05d603f7ac
commit
a85558e118
|
@ -42,7 +42,7 @@ void setup(void)
|
|||
|
||||
void close_file(void)
|
||||
{
|
||||
fclose(input);
|
||||
fclose(yyin);
|
||||
}
|
||||
|
||||
int main(void) {
|
||||
|
@ -53,7 +53,7 @@ int main(void) {
|
|||
|
||||
if (NULL == input)
|
||||
{
|
||||
ERROR("File couldn't be opened!");
|
||||
PANIC("File couldn't be opened!");
|
||||
}
|
||||
|
||||
yyin = input;
|
||||
|
|
Loading…
Reference in New Issue