Skip to content

Commit

Permalink
Place parens in symSort (not its senders) for consistency with LF
Browse files Browse the repository at this point in the history
  • Loading branch information
shingarov committed Oct 17, 2024
1 parent 6c9c150 commit c6544b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Refinements-Parsing/NNFParser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ NNFParser >> funcSort [

{ #category : #grammar }
NNFParser >> hBind [
^symSort parens trim, pred parens
^symSort trim, pred parens
==> [ :x | HBind x: x first first τ: x first second p: x second ]
]

Expand Down Expand Up @@ -161,7 +161,7 @@ NNFParser >> predAnd [
NNFParser >> qualif [
^'qualif' asParser trim,
NNFParser upperId trim, "name"
symSort parens trim plus parens trim, "params"
symSort trim plus parens trim, "params"
pred parens "body"
==> [ :x | Qualifier
name: x second
Expand Down Expand Up @@ -198,7 +198,7 @@ NNFParser >> start [

{ #category : #'grammar - util' }
NNFParser >> symSort [
^self tok trim, sort
^(self tok trim, sort) parens
]

{ #category : #grammar }
Expand Down

0 comments on commit c6544b3

Please sign in to comment.