Skip to content

Commit 3562c3a

Browse files
author
Dwight Guth
committed
make common sort
1 parent 6aeea29 commit 3562c3a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

semantics/common/syntax.k

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ module COMMON-SORTS
33
imports SYMLOC-SORTS
44
imports INT-SYNTAX
55
imports FLOAT-SYNTAX
6-
syntax CValue ::= BitValue | Agg | Encodable | IntPtr
6+
syntax CValue ::= BitValueOrEncodable | Agg | IntPtr
7+
syntax BitValueOrEncodable ::= BitValue | Encodable
78
syntax EffectiveValue ::= Int | Float | CValue
89
syntax Agg
910
syntax CId

semantics/cpp/language/common/dynamic.k

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,8 @@ module CPP-DYNAMIC-OTHER-SYNTAX
386386
imports SET
387387
imports BOOL
388388

389-
syntax CPPValue ::= BitValue
389+
syntax CPPValue ::= BitValueOrEncodable
390390
| PtrValue
391-
| Encodable
392391

393392
syntax PtrValue ::= NullPtrVal // value of type std::nullptr_t
394393
| MemberPtr

0 commit comments

Comments
 (0)