From 5c9ffbee01c051d19842f8140602826d3698ef0d Mon Sep 17 00:00:00 2001 From: "Benjamin J. Culkin" Date: Thu, 3 Jan 2019 18:47:19 -0400 Subject: Don't add groups as file names --- genafx-test.sh | 2 +- src/AffixLister.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/genafx-test.sh b/genafx-test.sh index 99c48616..edc2614b 100755 --- a/genafx-test.sh +++ b/genafx-test.sh @@ -5,7 +5,7 @@ set -e baseout="$1" shift 1 fileset="$@" -listopts="-z -n named" +listopts="-z -n named -r synfiles" cd src; diff --git a/src/AffixLister.java b/src/AffixLister.java index 33eff9d8..ef7e3223 100644 --- a/src/AffixLister.java +++ b/src/AffixLister.java @@ -616,10 +616,10 @@ public class AffixLister { } else { curList = fNames.get(curGroup); } + } else { + numFiles += 1; + curList.add(ln); } - - numFiles += 1; - curList.add(ln); } } catch (IOException ioex) { System.err.printf("Error reading names from file %s\n", from); -- cgit v1.2.3