Skip to content

Commit 411bb69

Browse files
committed
do not default to Spin language, we might have others
1 parent 183d521 commit 411bb69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Spin to C/C++ converter
3-
* Copyright 2011-2024 Total Spectrum Software Inc.
3+
* Copyright 2011-2025 Total Spectrum Software Inc.
44
* See the file COPYING for terms of use
55
*
66
* code for handling functions
@@ -2330,7 +2330,7 @@ ProcessOneFunc(Function *pf)
23302330
BasicTransform(pf);
23312331
} else if (IsCLang(pf->language)) {
23322332
CTransform(pf);
2333-
} else {
2333+
} else if (IsSpinLang(pf->language)) {
23342334
SpinTransform(pf);
23352335
}
23362336

0 commit comments

Comments
 (0)