File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -86,10 +86,10 @@ int main(int argc, char** argv)
86
86
87
87
/*------ Writting in out file --------*/
88
88
//Open out file
89
- FILE * f_out = fopen ("Output/tokens.txt" , "w" );
89
+ FILE * fp_out = fopen ("Output/tokens.txt" , "w" );
90
90
91
91
//Checking for error on file opening
92
- if (f_out == NULL )
92
+ if (fp_out == NULL )
93
93
{
94
94
printf ("Error opening output file\n" );
95
95
return 1 ;
@@ -107,7 +107,7 @@ int main(int argc, char** argv)
107
107
108
108
109
109
//Write all tokens read to file
110
- write_tokens_file (f_out , vec_tokens );
110
+ write_tokens_file (fp_out , vec_tokens );
111
111
112
112
//Write all errors to file
113
113
write_error_file (fp_error , vec_synt_error , vec_tokens );
@@ -125,7 +125,7 @@ int main(int argc, char** argv)
125
125
126
126
/*------ Closing the files --------*/
127
127
fclose (program );
128
- fclose (f_out );
128
+ fclose (fp_out );
129
129
fclose (fp_error );
130
130
131
131
return 0 ;
You can’t perform that action at this time.
0 commit comments