From cb3d25f05f47625def6444d0c3a94d7f8024f5ce Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Mon, 28 Jan 2008 11:21:57 -0800 Subject: skip spaces immediately after field names --- src/cli_def.l | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/cli_def.l b/src/cli_def.l index 8f32c51..c90b3c3 100644 --- a/src/cli_def.l +++ b/src/cli_def.l @@ -325,11 +325,11 @@ RE_ACT_FIELD (help|syntax|commit|delete|update|activate|create|begin|end|comp_he return return_str(str_delim); } -{RE_ACT_FIELD}:expression: { +{RE_ACT_FIELD}:expression:[ \t]* { return return_act_field(yy_cli_def_text); } -{RE_ACT_FIELD}: { +{RE_ACT_FIELD}:[ \t]* { BEGIN(action); return return_act_field(yy_cli_def_text); } -- cgit v1.2.3