Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
TwoOfTwelve committed Oct 18, 2024
1 parent f6a2ac1 commit ea67fa4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion languages/cpp/src/main/java/de/jplag/cpp/CPPListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
class CPPListener extends AbstractAntlrListener {

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

0 comments on commit ea67fa4

Please sign in to comment.