[Xorp-cvs] XORP cvs commit: xorp/rtrmgr

Pavlin Radoslavov pavlin@icir.org
Thu, 2 Feb 2006 19:48:31 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2006-02-02 19:48:31 UTC

XORP CVS repository


Modified files:
	rtrmgr        template_tree_node.cc template_tree_node.hh 

Log message:
	* Add "throw (ParseError)" as appropriate to the declaration of methods
	  that are invoked by the rtrmgr template parser.
	
	* If a "%foo" command doesn't have the expected number of arguments,
	  then throw a parser error instead of just printing a warning.
	
	* Fix the parsing of %read-only and %permanent so now the strign with
	  the reason is mandatory. This means that now statements like
	  "%read-only:;" or "%permanent:;" are invalid and should include
	  a string with the reason as well. E.g.:
	  %read-only: "String with reason";
	  The same applies for "%user-hidden" as well.

Revision  Changes                                Path
1.75      +38 -27;  commitid: 158c43e2614c7ea6;  xorp/rtrmgr/template_tree_node.cc
1.48      +3 -2;  commitid: 158c43e2614c7ea6;    xorp/rtrmgr/template_tree_node.hh