Skip to content

Commit ac374bf

Browse files
committed
Fixed some nucode function type calculations
1 parent b64bf85 commit ac374bf

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Changelog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Version 6.6.1
2+
- Fixed function type usage in -2nu for some Spin method pointers
3+
- Updated copyright notices in COPYING.LIB
4+
15
Version 6.6.0
26
- Added pc_key and pc_mouse to -gbrk
37
- Added missing !! and ! postfix operators for Spin2

expr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3594,7 +3594,7 @@ FuncNumResults(AST *functype)
35943594
while (functype && functype->kind == AST_PTRTYPE) {
35953595
functype = functype->left;
35963596
}
3597-
if (!functype) {
3597+
if (!IsFunctionType(functype)) {
35983598
return 1; // unknown return type
35993599
}
36003600
functype = functype->left;

0 commit comments

Comments
 (0)