[Xorp-cvs] XORP cvs commit: xorp/rtrmgr
Pavlin Radoslavov
pavlin@icir.org
Thu, 2 Feb 2006 19:45:03 GMT
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin@xorpc.icir.org 2006-02-02 19:45:02 UTC
XORP CVS repository
Modified files:
rtrmgr template.yy y.tplt_tab.cc
Log message:
* Add "throw (ParseError)" as appropriate to the declaration of methods
that are invoked by the rtrmgr template parser.
* Fix the rtrmgr template parser grammer for commands
without a list of arguments (e.g., "%set:;").
Now "end_cmd()" is called to complete the processing of the
command.
This fixes a bug where invalid commands like
"%user-hidden:;" without arguments were silently ignored.
Revision Changes Path
1.20 +5 -4; commitid: 152a43e2609e7ea6; xorp/rtrmgr/template.yy
1.27 +70 -65; commitid: 152a43e2609e7ea6; xorp/rtrmgr/y.tplt_tab.cc