Skip to content

Commit

Permalink
Converting bools to prtValue directly
Browse files Browse the repository at this point in the history
  • Loading branch information
ACassimiro committed Sep 9, 2024
1 parent 1e9fc51 commit a1fedf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust-semantics/expression/literals.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module RUST-EXPRESSION-INTEGER-LITERALS
syntax String ::= IntegerLiteralToString(IntegerLiteral) [function, total, hook(STRING.token2string)]
rule I:IntegerLiteral => wrapPtrValueOrError(null, parseInteger(I))
rule B:Bool:LiteralExpression => wrapPtrValueOrError(null, B:Bool:Value)
rule B:Bool:LiteralExpression => ptrValue(null, B:Bool:Value)
syntax ValueOrError ::= parseInteger(IntegerLiteral) [function, total]
| parseInteger(String) [function, total]
Expand Down

0 comments on commit a1fedf9

Please sign in to comment.