diff options
Diffstat (limited to 'function.c')
-rw-r--r-- | function.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -28,6 +28,7 @@ #include "event.h" #include "reader.h" #include "parse_util.h" +#include "parser_keywords.h" #include "env.h" #include "expand.h" #include "halloc.h" @@ -213,7 +214,7 @@ int function_exists( const wchar_t *cmd ) CHECK( cmd, 0 ); - if( parser_is_reserved(cmd) ) + if( parser_keywords_is_reserved(cmd) ) return 0; load( cmd ); |