Open eipa assembly in binary mode, to make LF files work in Windows
This commit is contained in:
parent
38d14eec25
commit
edf807a5b3
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
// Tokenize the EIPA Assembly
|
// Tokenize the EIPA Assembly
|
||||||
FILE *assembly_file;
|
FILE *assembly_file;
|
||||||
assembly_file = fopen(arguments.input_file, "r");
|
assembly_file = fopen(arguments.input_file, "rb");
|
||||||
if (assembly_file == NULL)
|
if (assembly_file == NULL)
|
||||||
{
|
{
|
||||||
printf("Error: Couldn't open input file\n");
|
printf("Error: Couldn't open input file\n");
|
||||||
|
|
Loading…
Reference in a new issue