summaryrefslogtreecommitdiff
path: root/src/cli_def.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli_def.l')
-rw-r--r--src/cli_def.l4
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);
}