oneaccess.grammar: fixed broken adsl interface syntax (misplaces exit keyword) default tip
authorTomas Zeman <tzeman@volny.cz>
Thu, 23 Aug 2012 14:06:18 +0200
changeset 45 9ba98ba61f6b
parent 44 b9026c6ef3e9
oneaccess.grammar: fixed broken adsl interface syntax (misplaces exit keyword)
oneaccess.grammar
--- a/oneaccess.grammar	Thu Aug 23 10:16:19 2012 +0200
+++ b/oneaccess.grammar	Thu Aug 23 14:06:18 2012 +0200
@@ -182,7 +182,7 @@
 iface_num:	/\d+([\.\/]\d+)*/
 		{ $item[1] }
 
-s_interface:	"0" "interface" iface_type iface_num /\S*/ eol s_interface_l[ctx => ctx("interface", $item{iface_type}.":".$item{iface_num}) ](s) "0" "exit" eol
+s_interface:	"0" "interface" iface_type iface_num /\S*/ eol s_interface_l[ctx => ctx("interface", $item{iface_type}.":".$item{iface_num}) ](s)
 		{
 		my $id = $item{iface_type}.":".$item{iface_num};
 		$::res->{interface}->{$id}->{type} = $item{iface_type};