]> ocean-lang.org Git - ocean/blobdiff - csrc/oceani.mdc
oceani: remove some stray white-space
[ocean] / csrc / oceani.mdc
index 19c9471cec06bb1bc331f26a3e3cb4fecd1864c1..beb4fc9830f41e25f4fbe65e54bb4195a3abde18 100644 (file)
@@ -691,7 +691,7 @@ A separate function encoding these cases will simplify some code later.
                }
        }
 
-       static void _dup_value(struct type *type, 
+       static void _dup_value(struct type *type,
                               struct value *vold, struct value *vnew)
        {
                switch (type->vtype) {
@@ -1031,7 +1031,7 @@ list of in_scope names.
 
 The storage of the value of a variable will be described later.  For now
 we just need to know that when a variable goes out of scope, it might
-need to be freed.  For this we need to be able to find it, so assume that 
+need to be freed.  For this we need to be able to find it, so assume that
 `var_value()` will provide that.
 
 ###### variable fields
@@ -2061,7 +2061,7 @@ function will be needed.
                        struct value *v;
                        v = (void*) val->ptr + type->structure.fields[i].offset;
                        if (type->structure.fields[i].init)
-                               dup_value(type->structure.fields[i].type, 
+                               dup_value(type->structure.fields[i].type,
                                          type->structure.fields[i].init,
                                          v);
                        else
@@ -2480,7 +2480,6 @@ further detailed when Expression Lists are introduced.
                        }
                } }$
 
-
        $*binode
        Args -> ArgsLine NEWLINE ${ $0 = $<AL; }$
                | Args ArgsLine NEWLINE ${ {
@@ -4013,7 +4012,7 @@ function.
        Use,
 
 ###### expr precedence
-       $TERM use       
+       $TERM use
 
 ###### SimpleStatement Grammar
        | use Expression ${
@@ -4713,7 +4712,6 @@ The code in an Ocean program is all stored in function declarations.
 One of the functions must be named `main` and it must accept an array of
 strings as a parameter - the command line arguments.
 
-
 As this is the top level, several things are handled a bit
 differently.
 The function is not interpreted by `interp_exec` as that isn't
@@ -4882,7 +4880,6 @@ analysis is a bit more interesting at this level.
                                array_init(v->var->type, vl);
                                for (i = 0; i < argc; i++) {
                                        struct value *vl2 = vl->array + i * v->var->type->array.member->size;
-                                       
 
                                        arg.str.txt = argv[i];
                                        arg.str.len = strlen(argv[i]);