summaryrefslogtreecommitdiff
path: root/src/cli_def.l
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-01-30 17:44:16 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-01-30 17:44:16 -0800
commitb55f0e0cad3152fadcc4b51fe2db7f4ca20a8b99 (patch)
tree65fea31aae903672dc9e32b0e7946ce315a17833 /src/cli_def.l
parentc5905210c8569ffc432b74fe78b553e09da6d776 (diff)
downloadvyatta-cfg-b55f0e0cad3152fadcc4b51fe2db7f4ca20a8b99.tar.gz
vyatta-cfg-b55f0e0cad3152fadcc4b51fe2db7f4ca20a8b99.zip
allow certain operators in initial state
Diffstat (limited to 'src/cli_def.l')
-rw-r--r--src/cli_def.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli_def.l b/src/cli_def.l
index d42119d..3158a0f 100644
--- a/src/cli_def.l
+++ b/src/cli_def.l
@@ -415,7 +415,7 @@ RE_ACT_FIELD (help|syntax|commit|delete|update|activate|create|begin|end|comp_he
}
}
-<expression>{RE_OP_OTHER} {
+<INITIAL,expression>{RE_OP_OTHER} {
int i = 0;
while (op_strs[i]) {
if (strcmp(op_strs[i], yy_cli_def_text) == 0) {