Fixed error with failure messages. Null terminated lists to mpca_lang and fixed crash.
This commit is contained in:
@@ -60,7 +60,7 @@ int main(int argc, char **argv) {
|
||||
" includes : (\"#include\" <string>)* ; \n"
|
||||
" smallc : /^/ <includes> <decls> <procedure>* <main> /$/ ; \n",
|
||||
Ident, Number, Character, String, Factor, Term, Lexp, Stmt, Exp,
|
||||
Typeident, Decls, Args, Body, Procedure, Main, Includes, Smallc);
|
||||
Typeident, Decls, Args, Body, Procedure, Main, Includes, Smallc, NULL);
|
||||
|
||||
if (err != NULL) {
|
||||
mpc_err_print(err);
|
||||
|
Reference in New Issue
Block a user