이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
piumarta
/
javascrypt
의 미러
https://github.com/mtardy/javascrypt.git
보기
1
좋아요
0
포크
0
코드
이슈
0
릴리즈
1
위키
활동
소스 검색
Print error in case of non-integer in arithmetic operation
pull/5/head
mtardy
4 년 전
부모
566b88dec1
커밋
2128d6abf9
1개의 변경된 파일
과
4개의 추가작업
그리고
0개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
object.c
+ 4
- 0
object.c
파일 보기
@ -177,6 +177,10 @@ void println(oop ast);
int
getInteger
(
oop
obj
)
{
if
(
!
isInteger
(
obj
)
)
{
fprintf
(
stderr
,
"
\n
Non-integer in arithmetic expression
\n
"
)
;
exit
(
1
)
;
}
#
if (USE_TAG)
return
(
intptr_t
)
obj
>
>
1
;
#
else
쓰기
미리보기
불러오는 중...
취소
저장