Fixed error with failure messages. Null terminated lists to mpca_lang and fixed crash.

This commit is contained in:
Daniel Holden
2014-04-23 12:20:20 +01:00
parent 60b1496bb5
commit a5ed2097ea
6 changed files with 13 additions and 12 deletions

View File

@@ -21,7 +21,7 @@ int main(int argc, char **argv) {
" expr : <number> | <symbol> | <string> "
" | <comment> | <sexpr> | <qexpr> ; "
" lispy : /^/ <expr>* /$/ ; ",
Number, Symbol, String, Comment, Sexpr, Qexpr, Expr, Lispy);
Number, Symbol, String, Comment, Sexpr, Qexpr, Expr, Lispy, NULL);
if (argc > 1) {