8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 21:23:04 +01:00
firebird-mirror/builds/win32/parse.bat

26 lines
576 B
Batchfile
Raw Normal View History

@echo off
@echo.
2003-08-03 21:20:33 +02:00
@call setenvvar.bat
@if errorlevel 1 (goto :END)
2010-11-06 20:31:53 +01:00
@call set_build_target.bat %*
2006-04-19 13:28:20 +02:00
@echo Generating parse.cpp and dsql.tab.h
2003-10-19 03:25:36 +02:00
@sed -n "/%%type .*/p" < %FB_ROOT_PATH%\src\dsql\parse.y > types.y
@sed "s/%%type .*//" < %FB_ROOT_PATH%\src\dsql\parse.y > y.y
2012-04-25 03:42:47 +02:00
%FB_ROOT_PATH%\temp\%FB_OBJ_DIR%\btyacc\btyacc -l -d -S %FB_ROOT_PATH%\src\dsql\btyacc_fb.ske y.y
2006-04-19 13:28:20 +02:00
@if errorlevel 1 (exit /B 1)
@copy y_tab.h %FB_ROOT_PATH%\src\include\gen\parse.h > nul
@copy y_tab.c %FB_ROOT_PATH%\src\dsql\parse.cpp > nul
2012-04-25 03:42:47 +02:00
@del y.y
@del types.y
@del y_tab.h
@del y_tab.c
2012-04-25 11:05:10 +02:00
@del sed*
2006-04-19 13:28:20 +02:00
:END