diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-05-06 17:32:19 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-05-06 17:32:19 -0700 |
commit | 34c359422cc2d556478f4252c66aa880f8adb8b1 (patch) | |
tree | 85637dc423f1e8cff5a6aaf3b65841a612d5042b /src/cli_parse.y | |
parent | 03c782a72257d611abfdba12e67ba8aa6b759c9d (diff) | |
download | vyatta-cfg-34c359422cc2d556478f4252c66aa880f8adb8b1.tar.gz vyatta-cfg-34c359422cc2d556478f4252c66aa880f8adb8b1.zip |
additional fix
Diffstat (limited to 'src/cli_parse.y')
-rw-r--r-- | src/cli_parse.y | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cli_parse.y b/src/cli_parse.y index 50b1313..0f32928 100644 --- a/src/cli_parse.y +++ b/src/cli_parse.y @@ -43,7 +43,6 @@ static void cli_deferror(const char *); %token DUMMY %left SEMI %token <val>VALUE -%token <val>PRIORITY_VALUE %token <type>TYPE_DEF %token <strp>VAR %token <strp> STRING @@ -175,7 +174,7 @@ default_cause: DEFAULT STRING yy_cli_parse_error((const char *)"Bad default\n"); parse_defp->def_default = $2; } -priority_stmt: PRIORITY PRIORITY_VALUE +priority_stmt: PRIORITY VALUE { char *tmp = $2.val; long long int cval = 0; |