nac3core: fix len on range with step of different sign #129

Merged
sb10q merged 3 commits from len_range_fix into master 2021-12-13 10:44:33 +08:00
2 changed files with 8 additions and 0 deletions
Showing only changes of commit 1541188722 - Show all commits

View File

@ -2,6 +2,10 @@
def output_int(x: int32):
...
@extern
def output_long(x: int64):
...
class A:
a: int32

View File

@ -5,6 +5,10 @@ void output_int(int x) {
printf("%d\n", x);
}
void output_long(long x) {
printf("%ld\n", x);
}
void output_asciiart(int x) {
static char chars[] = " .,-:;i+hHM$*#@ ";
if(x < 0) {