From 26026ff6de7d5d1a0dd985a198c75dcc449d50f2 Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Tue, 15 Sep 2009 22:10:16 -0500 Subject: [PATCH] fix bug in pointer type parsing --- basis/alien/c-types/c-types.factor | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/basis/alien/c-types/c-types.factor b/basis/alien/c-types/c-types.factor index 123abb5298..02ab2dcafa 100755 --- a/basis/alien/c-types/c-types.factor +++ b/basis/alien/c-types/c-types.factor @@ -79,11 +79,9 @@ M: string c-type ( name -- type ) CHAR: ] over member? [ parse-array-type prefix ] [ - dup c-types get at [ - resolve-typedef - ] [ + dup c-types get at [ ] [ "*" ?tail [ resolve-pointer-type ] [ no-c-type ] if - ] ?if + ] ?if resolve-typedef ] if ; M: word c-type