diff options
-rw-r--r-- | 05/parse.b | 3 | ||||
-rw-r--r-- | 05/util.b | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -459,7 +459,8 @@ function parse_type_to if c == 0 goto bad_type n = type_length(c) c += types - out = memcpy(out, c, n) + memcpy(out, c, n) + out += n goto base_type_done :skip_struct_union_enum @@ -280,7 +280,7 @@ function memccpy memccpy_advance(&dest, &src, terminator) return dest -; just like C +; like C, but returns 0 function memcpy argument dest argument src |