2 커밋

작성자 SHA1 메시지 날짜
  Nathan R 0332e0b5ca typo 4 년 전
  Nathan R 736d389e50 added new tests 4 년 전
3개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
분할 보기
  1. +1
    -0
      Makefile
  2. +1
    -1
      ccmeta.leg
  3. +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"

불러오는 중...
취소
저장