Skip to content

Commit

Permalink
implements first batch of CR suggestions by Joao
Browse files Browse the repository at this point in the history
  • Loading branch information
ArquintL committed May 21, 2024
1 parent 6dfb890 commit d84036f
Show file tree
Hide file tree
Showing 8 changed files with 2,173 additions and 2,049 deletions.
4 changes: 2 additions & 2 deletions src/main/antlr4/GobraParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ ghostSliceType: GHOST L_BRACKET R_BRACKET elementType;

ghostPointerType: GPOINTER L_BRACKET elementType R_BRACKET;

// copy of `fieldDecl` from GoParser.g4 extended with an optional `GHOST` modifier for fields:
// copy of `fieldDecl` from GoParser.g4 extended with an optional `GHOST` modifier for fields and embedded fields:
fieldDecl: (
GHOST? identifierList type_
| embeddedField
| GHOST? embeddedField
) tag = string_?;

sqType: (kind=(SEQ | SET | MSET | OPT) L_BRACKET type_ R_BRACKET)
Expand Down
Loading

0 comments on commit d84036f

Please sign in to comment.