Skip to content

Commit d0d1fc0

Browse files
committed
adt
1 parent 5846451 commit d0d1fc0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "ungrammar"
33
description = "A DSL for describing concrete syntax trees"
4-
version = "1.10.0"
4+
version = "1.11.0"
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/matklad/ungrammar"
77
authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]

rust.ungram

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,10 @@ Union =
217217
'union' Name GenericParamList? WhereClause?
218218
RecordFieldList
219219

220-
AdtDef =
220+
// A Data Type.
221+
//
222+
// Not used directly in the grammar, but handy to have anyway.
223+
Adt =
221224
Enum
222225
| Struct
223226
| Union

0 commit comments

Comments
 (0)