Skip to content

Commit ea67fa4

Browse files
committed
Spotless
1 parent f6a2ac1 commit ea67fa4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

languages/cpp/src/main/java/de/jplag/cpp/CPPListener.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@
100100
class CPPListener extends AbstractAntlrListener {
101101

102102
CPPListener() {
103-
visit(ClassSpecifierContext.class, rule -> rule.classHead().Union() != null).map(UNION_BEGIN, UNION_END).addClassScope().withSemantics(CodeSemantics::createControl);
103+
visit(ClassSpecifierContext.class, rule -> rule.classHead().Union() != null).map(UNION_BEGIN, UNION_END).addClassScope()
104+
.withSemantics(CodeSemantics::createControl);
104105
mapClass(ClassKeyContext::Class, CLASS_BEGIN, CLASS_END);
105106
mapClass(ClassKeyContext::Struct, STRUCT_BEGIN, STRUCT_END); // structs are basically just classes
106107
visit(EnumSpecifierContext.class).map(ENUM_BEGIN, ENUM_END).addClassScope().withSemantics(CodeSemantics::createControl);

0 commit comments

Comments
 (0)