• R/O
  • SSH
  • HTTPS

jpl: Commit


Commit MetaInfo

Revision486 (tree)
Time2019-03-12 03:00:48
Authorjakobthomsen

Log Message

cleanup

Change Summary

Incremental Difference

--- trunk/experimental2/compiler.compiled.c (revision 485)
+++ trunk/experimental2/compiler.compiled.c (revision 486)
@@ -1097,12 +1097,6 @@
10971097 break;
10981098 }
10991099 printf(" case ");
1100- //if(isdigit(c))
1101- //{
1102- // while(isdigit(c))
1103- // putchar(c = (uint32_t)getchar()); // echo label
1104- //}
1105- //else
11061100 if(isalpha(c))
11071101 {
11081102 printf("/*");
@@ -1151,22 +1145,6 @@
11511145 printf(" stack_push(&callstack, result);\n");
11521146 break;
11531147 }
1154- //else if(isdigit(c))
1155- //{
1156- // uint64_t dest = --tmpaddr;
1157- // printf("memory[tuple2_access0(stackframe)].value = %lldLL;\n", (long long)dest); // use negative to display numbers concisely
1158- // printf(" stack_push(&callstack, stackframe);\n");
1159- // printf(" stackframe = tuple2_alloc(%c", c);
1160- // while(isdigit(ungetc(getchar(), stdin))) putchar(getchar()); // echo label
1161- // printf(", 0);\n");
1162- // printf(" result = 0;\n");
1163- // printf(" break;\n");
1164- // printf(" }\n");
1165- // //printf(" case %lluLLU:\n", (unsigned long long)--tmpaddr);
1166- // printf(" case %lldLL:\n", (long long)dest); // use negative to display numbers concisely
1167- // printf(" {\n");
1168- // printf(" result = stack_pop(&callstack);\n");
1169- //}
11701148 else if(isalpha(c))
11711149 {
11721150 printf("/*");
--- trunk/experimental2/compiler.source.c (revision 485)
+++ trunk/experimental2/compiler.source.c (revision 486)
@@ -572,12 +572,6 @@
572572 break;
573573 }
574574 printf(" case ");
575- //if(isdigit(c))
576- //{
577- // while(isdigit(c))
578- // putchar(c = (uint32_t)getchar()); // echo label
579- //}
580- //else
581575 if(isalpha(c))
582576 {
583577 printf("/*");
@@ -626,22 +620,6 @@
626620 printf(" stack_push(&callstack, result);\n");
627621 break;
628622 }
629- //else if(isdigit(c))
630- //{
631- // uint64_t dest = --tmpaddr;
632- // printf("memory[tuple2_access0(stackframe)].value = %lldLL;\n", (long long)dest); // use negative to display numbers concisely
633- // printf(" stack_push(&callstack, stackframe);\n");
634- // printf(" stackframe = tuple2_alloc(%c", c);
635- // while(isdigit(ungetc(getchar(), stdin))) putchar(getchar()); // echo label
636- // printf(", 0);\n");
637- // printf(" result = 0;\n");
638- // printf(" break;\n");
639- // printf(" }\n");
640- // //printf(" case %lluLLU:\n", (unsigned long long)--tmpaddr);
641- // printf(" case %lldLL:\n", (long long)dest); // use negative to display numbers concisely
642- // printf(" {\n");
643- // printf(" result = stack_pop(&callstack);\n");
644- //}
645623 else if(isalpha(c))
646624 {
647625 printf("/*");
Show on old repository browser