This website works better with JavaScript.
首頁
探索
說明
登入
piumarta
/
ccmeta
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
2 次程式碼提交
bccc3c99b0
...
0332e0b5ca
作者
SHA1
備註
提交日期
Nathan R
0332e0b5ca
typo
4 年之前
Nathan R
736d389e50
added new tests
4 年之前
共有
3 個文件被更改
,包括
9 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
+1
-0
Makefile
+1
-1
ccmeta.leg
+7
-0
dotest
+ 1
- 0
Makefile
查看文件
@ -13,6 +13,7 @@ test : all .FORCE
debug
:
all
.
FORCE
./
$(
MAIN
)
< debug.c > debug.out
gcc -o debug debug.c
#diff debug.out debug.c
$(MAIN)
:
$(
MAIN
)
.
c
object
.
c
buffer
.
h
+ 1
- 1
ccmeta.leg
查看文件
@ -1400,7 +1400,7 @@ declaration = @{ C_declarationBegin() }
@{ C_declarationEnd() }
|
&{ C_declarationAbort() }
)
)
declarationSpecifiers = @{ int specified= 0 } { listBegin() }
( s:storageClassSpecifier { listAppend(s) }
+ 7
- 0
dotest
查看文件
@ -26,6 +26,13 @@ for i in tests-gnu/*.c; do
cmp $i $j || die $i $j
done
for i in single-exec/*.c; do
echo $i
j="${i%.c}.out"
$run < $i > $j
cmp $i $j || die $i $j
done
for i in tests-err/*.c; do
echo $i
j="${i%.c}.out"
Write
Preview
Loading…
取消
儲存