diff src/context.h @ 106:547c20b052dc

tweak
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Thu, 21 Nov 2019 14:49:52 +0900
parents d5c4016c65b8
children 4f9d95dc4efd
line wrap: on
line diff
--- a/src/context.h	Thu Nov 21 14:45:01 2019 +0900
+++ b/src/context.h	Thu Nov 21 14:49:52 2019 +0900
@@ -472,14 +472,6 @@
     struct String {
       char* string;
     } String;
-    struct SysRead {
-        union Data* sys_read;
-        struct UInteger* num;
-        struct String* str;
-        enum Code next;
-        enum Code read;
-        enum Code ret;
-    } SysRead;
     struct SysFileRead {
         struct file *f;
     } SysFileRead;
@@ -491,6 +483,14 @@
         struct String *addr; 
         struct Integer* i;
     } PipeRead;
+    struct SysRead {
+        union  Data* sys_read;
+        struct UInteger* num;
+        int n;
+        struct String *p;
+        enum Code read;
+        enum Code next;
+    } SysRead;
 }; // union Data end       this is necessary for cbc_context generator
 
 /*