test -f %XSRC%/data/cxx.m4\r
if errorlevel 1 mv -f %XSRC%/data/cpp.m4 %XSRC%/data/cxx.m4\r
\r
-Rem Fix data/lalr1.cc to reflect the renaming of c++.m4\r
+Rem Fix data/lalr1.cc and data/location.cc to reflect the renaming of c++.m4\r
sed "s/c++\.m4/cxx.m4/" %XSRC%/data/lalr1.cc > lalr1.cc\r
if errorlevel 1 goto lalr1_ccFileError\r
mv ./lalr1.cc %XSRC%/data/lalr1.cc\r
+sed "s/c++\.m4/cxx.m4/" %XSRC%/data/location.cc > location.cc\r
+if errorlevel 1 goto location.ccFileError\r
+mv ./location.cc %XSRC%/data/location.cc\r
\r
Rem Define DJGPP specific defs in config.hin\r
echo Editing config.hin...\r
echo ./data/lalr1.cc file editing failed!\r
goto End\r
\r
+:location_ccFileError\r
+echo ./data/location.cc file editing failed!\r
+goto End\r
+\r
:calcxxFileError\r
echo ./examples/calcxx file editing failed!\r
goto End\r