diff --git a/src/main/java/dk/camelot64/kickc/model/Initializers.java b/src/main/java/dk/camelot64/kickc/model/Initializers.java index 393a214f2..31f5cc2fe 100644 --- a/src/main/java/dk/camelot64/kickc/model/Initializers.java +++ b/src/main/java/dk/camelot64/kickc/model/Initializers.java @@ -130,10 +130,10 @@ public class Initializers { } /** - * Convert as much as possible of a struct to constants. + * Convert a union designator initializer to a constant. * - * @param unionInit The value list - * @param structType The struct type + * @param unionInit The union initializer + * @param structType The union type * @param program The program * @param source The source line * @return The constantified value @@ -164,7 +164,6 @@ public class Initializers { } } - /** * Convert as much as possible of a struct to constants. *