[Xorp-cvs] XORP cvs commit: xorp/rtrmgr
Pavlin Radoslavov
pavlin@icir.org
Sun, 2 Oct 2005 22:10:23 GMT
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin@xorpc.icir.org 2005-10-02 22:10:23 UTC
XORP CVS repository
Modified files:
rtrmgr lex.opcmd.cc op_commands.ll
Log message:
* Change the rules for parsing a string by taking the implementation
from the rtrmgr template parser (template.ll)
This fixes a bug that previously we couldn't add the C-style
'\n' symbol to a comment if we want, say, the help for an operational
command to contain '\n'.
* Regenerate lex.opcmd.cc
Note that this regeneration removes manually added Windows-related
modifications like the following, so this may break the Windows
compilation:
#ifdef HOST_OS_WINDOWS
#define isatty(x) _isatty(x)
#define fileno(x) _fileno(x)
#endif
It is impossible to maintain such modifications in auto-generated
files, and they should be added somewhere else (e.g., somewhere
in libxorp).
* Add a comment explaining the LITERAL rule syntax.
Bug found by: "Michael Larson" <mike AT lrlart.com>
Revision Changes Path
1.19 +193 -130; commitid: 13917434059747ea6; xorp/rtrmgr/lex.opcmd.cc
1.12 +44 -4; commitid: 13917434059747ea6; xorp/rtrmgr/op_commands.ll