summaryrefslogtreecommitdiff
path: root/src/cli_def.l
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-01-30 11:33:57 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-01-30 11:33:57 -0800
commit4450235ce73d88d093de726317ee72b5915bb94a (patch)
tree621805e160997eb22d77a190b0fc731abab67510 /src/cli_def.l
parent90d32cf15eb2cc79fed853b98f6171e80107411f (diff)
downloadvyatta-cfg-4450235ce73d88d093de726317ee72b5915bb94a.tar.gz
vyatta-cfg-4450235ce73d88d093de726317ee72b5915bb94a.zip
change variable reference marker from "$(" to "$VAR(".
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 4f536bd..d42119d 100644
--- a/src/cli_def.l
+++ b/src/cli_def.l
@@ -425,7 +425,7 @@ RE_ACT_FIELD (help|syntax|commit|delete|update|activate|create|begin|end|comp_he
}
}
-<expression>\$\([^)]+\) {
+<expression>\$VAR\([^)]+\) {
yy_cli_parse_lval.strp = strdup(yy_cli_def_text);
return VAR;
}