diff options
author | pommicket <pommicket@gmail.com> | 2022-01-24 14:43:51 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-01-24 14:43:51 -0500 |
commit | 448a1ec4b56468937da463ac87afc5fd6ddec483 (patch) | |
tree | e22112a7b609f6601dfc56e3e86967db9a04e5f9 | |
parent | 5167a60347add87b2f7878b61fa26df15223ceb3 (diff) |
little correction to parse_type
-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 |