Fixed bug which caused reader to infinite loop if symbol contained non-alnum.
This commit is contained in:
parent
0685442e1a
commit
89b4f093f9
2 changed files with 9 additions and 1 deletions
|
|
@ -89,8 +89,11 @@ int main( int argc, char *argv[] ) {
|
|||
bind_function( "type", &lisp_type );
|
||||
|
||||
bind_function( "add", &lisp_add );
|
||||
bind_function( "+", &lisp_add );
|
||||
bind_function( "multiply", &lisp_multiply );
|
||||
bind_function( "*", &lisp_multiply );
|
||||
bind_function( "subtract", &lisp_subtract );
|
||||
bind_function( "-", &lisp_subtract );
|
||||
|
||||
/*
|
||||
* primitive special forms
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue