diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2009-11-05 16:39:30 -0800 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2009-11-05 16:39:30 -0800 |
commit | 5edd540c79f349cbe5f377f5b0e8ed16dcf7cf99 (patch) | |
tree | 5c9446f66f58349ccad57e694f902b3e3846128e /src/cli_def.l | |
parent | d1936f6f6328143199d2a2f665ca92292c00709f (diff) | |
download | vyatta-cfg-5edd540c79f349cbe5f377f5b0e8ed16dcf7cf99.tar.gz vyatta-cfg-5edd540c79f349cbe5f377f5b0e8ed16dcf7cf99.zip |
Allow inline comments in config template fields.
Also change priority.pl script to display inline comments found in
"priority:" fields if they are present.
Diffstat (limited to 'src/cli_def.l')
-rw-r--r-- | src/cli_def.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cli_def.l b/src/cli_def.l index d73f1c4..721e5f0 100644 --- a/src/cli_def.l +++ b/src/cli_def.l @@ -271,6 +271,7 @@ RE_ACT_FIELD (help|syntax|commit|delete|update|activate|create|begin|end|comp_he #[^\n]*\n { /* comment */ ++yy_cli_def_lineno; + return EOL; } \n { |