fix bug in pointer type parsing
parent
3b4330fcf6
commit
26026ff6de
|
@ -79,11 +79,9 @@ M: string c-type ( name -- type )
|
||||||
CHAR: ] over member? [
|
CHAR: ] over member? [
|
||||||
parse-array-type prefix
|
parse-array-type prefix
|
||||||
] [
|
] [
|
||||||
dup c-types get at [
|
dup c-types get at [ ] [
|
||||||
resolve-typedef
|
|
||||||
] [
|
|
||||||
"*" ?tail [ resolve-pointer-type ] [ no-c-type ] if
|
"*" ?tail [ resolve-pointer-type ] [ no-c-type ] if
|
||||||
] ?if
|
] ?if resolve-typedef
|
||||||
] if ;
|
] if ;
|
||||||
|
|
||||||
M: word c-type
|
M: word c-type
|
||||||
|
|
Loading…
Reference in New Issue