From 90d32cf15eb2cc79fed853b98f6171e80107411f Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Tue, 29 Jan 2008 15:02:10 -0800 Subject: allow non-txt values in initial state (for default). --- src/cli_def.l | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/cli_def.l b/src/cli_def.l index 20fb07d..4f536bd 100644 --- a/src/cli_def.l +++ b/src/cli_def.l @@ -430,13 +430,13 @@ RE_ACT_FIELD (help|syntax|commit|delete|update|activate|create|begin|end|comp_he return VAR; } -{RE_VAL_U32} { return return_value(INT_TYPE); } -{RE_IPV4} { return return_value(IPV4_TYPE); } -{RE_IPV4NET} { return return_value(IPV4NET_TYPE); } -{RE_IPV6} { return return_value(IPV6_TYPE); } -{RE_IPV6NET} { return return_value(IPV6NET_TYPE); } -{RE_VAL_BOOL} { return return_value(BOOL_TYPE); } -{RE_MACADDR} { return return_value(MACADDR_TYPE); } +{RE_VAL_U32} { return return_value(INT_TYPE); } +{RE_IPV4} { return return_value(IPV4_TYPE); } +{RE_IPV4NET} { return return_value(IPV4NET_TYPE); } +{RE_IPV6} { return return_value(IPV6_TYPE); } +{RE_IPV6NET} { return return_value(IPV6NET_TYPE); } +{RE_VAL_BOOL} { return return_value(BOOL_TYPE); } +{RE_MACADDR} { return return_value(MACADDR_TYPE); } <*>. { return SYNTAX_ERROR; -- cgit v1.2.3