This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
piumarta
/
parsimony
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Захтеви за спајање
0
Издања
1
Вики
Activity
Преглед изворни кода
Print error in case of non-integer in arithmetic operation
master
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
Write
Preview
Loading…
Откажи
Сачувај