2003-07-03 04:12:11 +02:00
|
|
|
@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
|
|
|
|
2013-03-07 16:29:44 +01:00
|
|
|
@sed -n "/%%type .*/p" < %FB_ROOT_PATH%\src\dsql\parse.y > types.y
|
2012-04-25 10:32:30 +02:00
|
|
|
@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)
|
2010-10-21 00:15:48 +02:00
|
|
|
@copy y_tab.h %FB_ROOT_PATH%\src\include\gen\parse.h > nul
|
2007-02-26 16:18:41 +01:00
|
|
|
@copy y_tab.c %FB_ROOT_PATH%\src\dsql\parse.cpp > nul
|
2012-04-25 03:42:47 +02:00
|
|
|
@del y.y
|
2013-03-07 16:29:44 +01:00
|
|
|
@del types.y
|
2006-04-20 04:26:24 +02:00
|
|
|
@del y_tab.h
|
|
|
|
@del y_tab.c
|
2012-04-25 11:05:10 +02:00
|
|
|
@del sed*
|
2003-07-03 04:12:11 +02:00
|
|
|
|
2006-04-19 13:28:20 +02:00
|
|
|
:END
|