asci.test

来自「一个类似windows」· TEST 代码 · 共 33 行

TEST
33
字号
#!/bin/sh
#
# Test the automatic semicolon insertion.
#

. $srcdir/defs || exit 1

ascifiles="asci.js"

name="asci.test"

# First, create the state 1 compiler.

rm -f jsc.js

for i in $jscsources; do
  cat $srcdir/../$i >> jsc.js
done

echo "$name: creating the state 1 compiler"
$js -Wall -O2 -c jsc.js
mv jsc.jsc stage1.jsc

# Now, compile our asci test source files with the state 1 compiler.

for i in $ascifiles; do
  $js --load stage1.jsc --file $srcdir/../bs.js $srcdir/$i
done

# Finally, cleanup.

rm -f a.jas a.jsc jsc.js stage1.jsc

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?