We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aeea29 commit 3562c3aCopy full SHA for 3562c3a
semantics/common/syntax.k
@@ -3,7 +3,8 @@ module COMMON-SORTS
3
imports SYMLOC-SORTS
4
imports INT-SYNTAX
5
imports FLOAT-SYNTAX
6
- syntax CValue ::= BitValue | Agg | Encodable | IntPtr
+ syntax CValue ::= BitValueOrEncodable | Agg | IntPtr
7
+ syntax BitValueOrEncodable ::= BitValue | Encodable
8
syntax EffectiveValue ::= Int | Float | CValue
9
syntax Agg
10
syntax CId
semantics/cpp/language/common/dynamic.k
@@ -386,9 +386,8 @@ module CPP-DYNAMIC-OTHER-SYNTAX
386
imports SET
387
imports BOOL
388
389
- syntax CPPValue ::= BitValue
+ syntax CPPValue ::= BitValueOrEncodable
390
| PtrValue
391
- | Encodable
392
393
syntax PtrValue ::= NullPtrVal // value of type std::nullptr_t
394
| MemberPtr
0 commit comments