Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit17c8493

Browse files
committed
Fix path problem in MSVC bison wrapper. per Joachim Wieland.
1 parenta534068 commit17c8493

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

‎src/tools/msvc/pgbison.bat

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ exit 1
1919

2020
:generate
2121
SETfn=%1
22-
bison -d%fn%
22+
SETcf=%2
23+
bison.exe -d%fn% -o%cf%
2324
iferrorlevel1exit1
24-
copy /y%fn:~0,-2%.tab.c%2
25-
iferrorlevel1exit1
26-
copy /y%fn:~0,-2%.tab.h%3
27-
iferrorlevel1exit1
28-
del%fn:~0,-2%.tab.*
25+
SEThf=%cf:~0,-2%.h
26+
ifnot"%hf%"=="%3" (
27+
copy /y%hf%%3
28+
iferrorlevel1exit1
29+
del%hf%
30+
)
2931
exit0
3032

3133

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp