diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-01-30 17:44:16 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-01-30 17:44:16 -0800 |
commit | b55f0e0cad3152fadcc4b51fe2db7f4ca20a8b99 (patch) | |
tree | 65fea31aae903672dc9e32b0e7946ce315a17833 /src | |
parent | c5905210c8569ffc432b74fe78b553e09da6d776 (diff) | |
download | vyatta-cfg-b55f0e0cad3152fadcc4b51fe2db7f4ca20a8b99.tar.gz vyatta-cfg-b55f0e0cad3152fadcc4b51fe2db7f4ca20a8b99.zip |
allow certain operators in initial state
Diffstat (limited to 'src')
-rw-r--r-- | src/cli_def.l | 2 |
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) { |