• R/O
  • SSH
  • HTTPS

jpl: Commit


Commit MetaInfo

Revision487 (tree)
Time2019-03-12 03:04:12
Authorjakobthomsen

Log Message

fix error-message

Change Summary

Incremental Difference

--- trunk/experimental2/compiler.compiled.c (revision 486)
+++ trunk/experimental2/compiler.compiled.c (revision 487)
@@ -38,7 +38,7 @@
3838 {
3939 if(value_avail_max > LAST_INDEX || pair_avail_max > LAST_INDEX)
4040 {
41- fprintf(stderr, "MEMORY ERROR\\n");
41+ fprintf(stderr, "MEMORY ERROR\n");
4242 mem_show();
4343 exit(-1);
4444 }
@@ -45,7 +45,7 @@
4545
4646 if(value_avail_max < LAST_INDEX || pair_avail_max < LAST_INDEX)
4747 {
48- fprintf(stderr, "MEMORY LEAK\\n");
48+ fprintf(stderr, "MEMORY LEAK\n");
4949 mem_show();
5050 exit(-1);
5151 }
@@ -562,7 +562,7 @@
562562 printf("{\n");
563563 printf(" if(value_avail_max > LAST_INDEX || pair_avail_max > LAST_INDEX)\n");
564564 printf(" {\n");
565- printf(" fprintf(stderr, \"MEMORY ERROR\\\\n\");\n");
565+ printf(" fprintf(stderr, \"MEMORY ERROR\\n\");\n");
566566 printf(" mem_show();\n");
567567 printf(" exit(-1);\n");
568568 printf(" }\n");
@@ -569,7 +569,7 @@
569569 printf("\n");
570570 printf(" if(value_avail_max < LAST_INDEX || pair_avail_max < LAST_INDEX)\n");
571571 printf(" {\n");
572- printf(" fprintf(stderr, \"MEMORY LEAK\\\\n\");\n");
572+ printf(" fprintf(stderr, \"MEMORY LEAK\\n\");\n");
573573 printf(" mem_show();\n");
574574 printf(" exit(-1);\n");
575575 printf(" }\n");
--- trunk/experimental2/compiler.source.c (revision 486)
+++ trunk/experimental2/compiler.source.c (revision 487)
@@ -46,7 +46,7 @@
4646 printf("{\n");
4747 printf(" if(value_avail_max > LAST_INDEX || pair_avail_max > LAST_INDEX)\n");
4848 printf(" {\n");
49- printf(" fprintf(stderr, \"MEMORY ERROR\\\\n\");\n");
49+ printf(" fprintf(stderr, \"MEMORY ERROR\\n\");\n");
5050 printf(" mem_show();\n");
5151 printf(" exit(-1);\n");
5252 printf(" }\n");
@@ -53,7 +53,7 @@
5353 printf("\n");
5454 printf(" if(value_avail_max < LAST_INDEX || pair_avail_max < LAST_INDEX)\n");
5555 printf(" {\n");
56- printf(" fprintf(stderr, \"MEMORY LEAK\\\\n\");\n");
56+ printf(" fprintf(stderr, \"MEMORY LEAK\\n\");\n");
5757 printf(" mem_show();\n");
5858 printf(" exit(-1);\n");
5959 printf(" }\n");
Show on old repository browser