Skip to content

Commit

Permalink
[C] Add new line to the end of generated C files.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpt777 committed Mar 25, 2019
1 parent 1d92f70 commit 6ffbd10
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -163,7 +163,7 @@ public void generate() throws IOException
generateGroups(sb, ir.namespaces(), groups, structName, structName);
out.append(sb);
out.append(generateVarData(structName, structName, varData));
out.append("\n#endif");
out.append("\n#endif\n");
}
}
}
Expand Down Expand Up @@ -704,7 +704,7 @@ private void generateChoiceSet(final CharSequence[] scope, final List<Token> tok
cTypeName(bitsetToken.encoding().primitiveType())));

out.append(generateChoices(bitSetName, tokens.subList(1, tokens.size() - 1)));
out.append("\n#endif");
out.append("\n#endif\n");
}
}

Expand All @@ -722,7 +722,7 @@ private void generateEnum(final CharSequence[] scope, final List<Token> tokens)

out.append(generateEnumLookupFunction(scope, tokens.subList(1, tokens.size() - 1), enumToken));

out.append("\n#endif");
out.append("\n#endif\n");
}
}

Expand Down Expand Up @@ -770,7 +770,7 @@ private void generateComposite(final CharSequence[] scope, final List<Token> tok
out.append(generateCompositePropertyFunctions(
scope, compositeName, tokens.subList(1, tokens.size() - 1)));

out.append("\n#endif");
out.append("\n#endif\n");
}
}

Expand Down

0 comments on commit 6ffbd10

Please sign in to comment.