gui/vcmake.bat
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 16 Jun 2015 06:45:26 +0100
changeset 489 0ca7a70db0f5
parent 355 7c102f6925b8
permissions -rw-r--r--
Fix in codegen for inlined sequence nodes. For inlined sequence nodes, generate nested ifs rather than sequential code which does not work when inlined. The reason is that #codeReturn: in inline generates instvar assignment, not method return, so in sequential code the next child of a sequence will be probed even if previous failed. If that happends, the whole sequence fail and therefore we must generate nested ifs to correctly handle this w.r.t. inlining.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
355
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
@REM -------
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
@REM make using Microsoft Visual C compiler
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
@REM type vcmake, and wait...
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
@REM do not edit - automatically generated from ProjectDefinition
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
@REM -------
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
@if not defined VSINSTALLDIR (
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
    pushd ..\..\..\rules
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
    call vcsetup.bat
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
    popd
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
)
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
@SET DEFINES=
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
@REM Kludge got Mercurial, cannot be implemented in Borland make
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
@FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
@IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%"
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
make.exe -N -f bc.mak -DUSEVC=1 %DEFINES% %*
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
7c102f6925b8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20