Skip to content

Commit

Permalink
Code review comments
Browse files Browse the repository at this point in the history
* Removed extra doc comment entries for top-level items.

Signed-off-by: Joseph Sinclair <[email protected]>
  • Loading branch information
jsync-swirlds committed Jan 14, 2025
1 parent d7afa01 commit f0fa610
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,25 @@ optionComment: OPTION_LINE_COMMENT;
// Syntax

syntax
: DOC_COMMENT? SYNTAX EQ (PROTO3_LIT_SINGLE | PROTO3_LIT_DOUBLE) SEMI
: SYNTAX EQ (PROTO3_LIT_SINGLE | PROTO3_LIT_DOUBLE) SEMI
;

// Import Statement

importStatement
: DOC_COMMENT? IMPORT ( WEAK | PUBLIC )? strLit SEMI
: IMPORT ( WEAK | PUBLIC )? strLit SEMI
;

// Package

packageStatement
: DOC_COMMENT? PACKAGE fullIdent SEMI
: PACKAGE fullIdent SEMI
;

// Option

optionStatement
: DOC_COMMENT? OPTION optionName EQ constant SEMI
: OPTION optionName EQ constant SEMI
;

optionName
Expand Down

0 comments on commit f0fa610

Please sign in to comment.