/*
* parser.c -- part of ZilUtils/ZilAsm
*
- * Copyright (C) 2016 Jason Self <j@jxself.org>
+ * Copyright (C) 2016, 2019 Jason Self <j@jxself.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
return 0;
}
+#define MAX_LINESIZE 1024
+
int parse_file(const char *filename)
{
FILE *fp = fopen(filename, "r");
if (!fp) fatal_error("wrong file");
- const int MAX_LINESIZE = 1024;
+ //const int MAX_LINESIZE = 1024;
char line[MAX_LINESIZE];
int newline_missing = 0;