diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-01-28 11:21:57 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-01-28 11:21:57 -0800 |
commit | cb3d25f05f47625def6444d0c3a94d7f8024f5ce (patch) | |
tree | 7132d3d8bcec61cebd53997f2100061e82a8fdbf /src/cli_def.l | |
parent | d6e59241730e6f458da6e77368b8b6b4d2626150 (diff) | |
download | vyatta-cfg-cb3d25f05f47625def6444d0c3a94d7f8024f5ce.tar.gz vyatta-cfg-cb3d25f05f47625def6444d0c3a94d7f8024f5ce.zip |
skip spaces immediately after field names
Diffstat (limited to 'src/cli_def.l')
-rw-r--r-- | src/cli_def.l | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |