aboutsummaryrefslogtreecommitdiffhomepage
path: root/function.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2007-04-22 19:50:26 +1000
committerGravatar axel <axel@liljencrantz.se>2007-04-22 19:50:26 +1000
commit45412f2b1f9b1b97fce85533a9d3fe0309e5c090 (patch)
tree2267da7a24656d95161a900e4a71fceb27df9f94 /function.c
parente9790db64a642bedb7c359c634e84980e523e627 (diff)
Move keyword detection code to separate file
darcs-hash:20070422095026-ac50b-77a840e2830370f46b7a48fd8863095d2cd7a5f0.gz
Diffstat (limited to 'function.c')
-rw-r--r--function.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/function.c b/function.c
index 23a942cf..361edd85 100644
--- a/function.c
+++ b/function.c
@@ -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 );