summaryrefslogtreecommitdiffstats
path: root/lib/defun_lex.l
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2018-07-09 00:02:36 +0200
committerRenato Westphal <renato@opensourcerouting.org>2018-08-13 23:59:31 +0200
commit26d19c83b412b49e8e99365ec356e25d85d1da72 (patch)
treed042374a0fe3512e6b21d686b8a140d94b3a3b07 /lib/defun_lex.l
parentbabeld: avoid reading the configuration file twice (diff)
downloadfrr-26d19c83b412b49e8e99365ec356e25d85d1da72.tar.xz
frr-26d19c83b412b49e8e99365ec356e25d85d1da72.zip
lib: implement DEFPY_NOSH
This is the DEFPY equivalent of DEFUN_NOSH. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/defun_lex.l')
-rw-r--r--lib/defun_lex.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/defun_lex.l b/lib/defun_lex.l
index 9c995db26..d901c26a2 100644
--- a/lib/defun_lex.l
+++ b/lib/defun_lex.l
@@ -132,6 +132,7 @@ SPECIAL [(),]
"DEFUN_NOSH" value = strdup(yytext); return DEFUNNY;
"DEFUN_HIDDEN" value = strdup(yytext); return DEFUNNY;
"DEFPY" value = strdup(yytext); return DEFUNNY;
+"DEFPY_NOSH" value = strdup(yytext); return DEFUNNY;
"DEFPY_ATTR" value = strdup(yytext); return DEFUNNY;
"DEFPY_HIDDEN" value = strdup(yytext); return DEFUNNY;
"ALIAS" value = strdup(yytext); return DEFUNNY;