[Xorp-hackers] [greearb/xorp.ct] 31b0f5: Remove auto-generated lex/yac files.
GitHub
noreply at github.com
Tue Mar 13 09:47:50 PDT 2012
Branch: refs/heads/master
Home: https://github.com/greearb/xorp.ct
Commit: 31b0f5edafd890554b3d18ac29f4971d9a8ba896
https://github.com/greearb/xorp.ct/commit/31b0f5edafd890554b3d18ac29f4971d9a8ba896
Author: Ben Greear <greearb at candelatech.com>
Date: 2012-03-13 (Tue, 13 Mar 2012)
Changed paths:
R xorp/rtrmgr/lex.boot.cc
R xorp/rtrmgr/lex.opcmd.cc
R xorp/rtrmgr/lex.tplt.cc
R xorp/rtrmgr/y.boot_tab.cc
R xorp/rtrmgr/y.boot_tab.h
R xorp/rtrmgr/y.opcmd_tab.cc
R xorp/rtrmgr/y.opcmd_tab.h
R xorp/rtrmgr/y.tplt_tab.cc
R xorp/rtrmgr/y.tplt_tab.h
Log Message:
-----------
Remove auto-generated lex/yac files.
Patches by Igor Maravic, but I just did a 'git rm'
instead of applying the patches that did the same work.
NOTE: This probably breaks the build until the next
patch is applied. --Ben
Signed-off-by: Igor Maravic <igorm at etf.rs>
Commit: e7a9b50727675488f84767e34ab9a98cbabf2989
https://github.com/greearb/xorp.ct/commit/e7a9b50727675488f84767e34ab9a98cbabf2989
Author: Igor Maravic <igorm at etf.rs>
Date: 2012-03-13 (Tue, 13 Mar 2012)
Changed paths:
M xorp/rtrmgr/SConscript
M xorp/rtrmgr/boot.ll
M xorp/rtrmgr/boot.yy
M xorp/rtrmgr/op_commands.cc
M xorp/rtrmgr/op_commands.ll
M xorp/rtrmgr/op_commands.yy
M xorp/rtrmgr/template.ll
M xorp/rtrmgr/template.yy
M xorp/site_scons/config/allconfig.py
Log Message:
-----------
xorp: Automatically generate lex and yacc files
In xorp/site_scons/config/allconfig.py added checks if 'flex' and 'bison' are installed.
If they aren't instructs user how to install them (instructions are for Ubuntu and Fedora).
Change xorp/rtrmgr/SConscript to automatically generate yacc and lex files with bison and flex.
In CPPPATH added env['xorp_sorcedir'] so generated files could include necessary files.
Also did minor changes in .yy and .ll files, so they would compile.
Unfortunately Eclipse striped whitespaces from changed files, so they are meshed up with the changed code.
Signed-off-by: Igor Maravic <igorm at etf.rs>
Compare: https://github.com/greearb/xorp.ct/compare/c28499d...e7a9b50
More information about the Xorp-hackers
mailing list