mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 02:03:03 +00:00
Use name cxx.m4 instead of c++.m4 in data/location.cc
This commit is contained in:
@@ -170,10 +170,13 @@ if not errorlevel 1 mv -f %XSRC%/data/c++.m4 %XSRC%/data/cxx.m4
|
|||||||
test -f %XSRC%/data/cxx.m4
|
test -f %XSRC%/data/cxx.m4
|
||||||
if errorlevel 1 mv -f %XSRC%/data/cpp.m4 %XSRC%/data/cxx.m4
|
if errorlevel 1 mv -f %XSRC%/data/cpp.m4 %XSRC%/data/cxx.m4
|
||||||
|
|
||||||
Rem Fix data/lalr1.cc to reflect the renaming of c++.m4
|
Rem Fix data/lalr1.cc and data/location.cc to reflect the renaming of c++.m4
|
||||||
sed "s/c++\.m4/cxx.m4/" %XSRC%/data/lalr1.cc > lalr1.cc
|
sed "s/c++\.m4/cxx.m4/" %XSRC%/data/lalr1.cc > lalr1.cc
|
||||||
if errorlevel 1 goto lalr1_ccFileError
|
if errorlevel 1 goto lalr1_ccFileError
|
||||||
mv ./lalr1.cc %XSRC%/data/lalr1.cc
|
mv ./lalr1.cc %XSRC%/data/lalr1.cc
|
||||||
|
sed "s/c++\.m4/cxx.m4/" %XSRC%/data/location.cc > location.cc
|
||||||
|
if errorlevel 1 goto location.ccFileError
|
||||||
|
mv ./location.cc %XSRC%/data/location.cc
|
||||||
|
|
||||||
Rem Define DJGPP specific defs in config.hin
|
Rem Define DJGPP specific defs in config.hin
|
||||||
echo Editing config.hin...
|
echo Editing config.hin...
|
||||||
@@ -381,6 +384,10 @@ goto End
|
|||||||
echo ./data/lalr1.cc file editing failed!
|
echo ./data/lalr1.cc file editing failed!
|
||||||
goto End
|
goto End
|
||||||
|
|
||||||
|
:location_ccFileError
|
||||||
|
echo ./data/location.cc file editing failed!
|
||||||
|
goto End
|
||||||
|
|
||||||
:calcxxFileError
|
:calcxxFileError
|
||||||
echo ./examples/calcxx file editing failed!
|
echo ./examples/calcxx file editing failed!
|
||||||
goto End
|
goto End
|
||||||
|
|||||||
Reference in New Issue
Block a user