File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ node = {
68
68
node_dfg = { "(" ~ "dfg" ~ port_lists? ~ signature? ~ meta* ~ region* ~ ")" }
69
69
node_cfg = { "(" ~ "cfg" ~ port_lists? ~ signature? ~ meta* ~ region* ~ ")" }
70
70
node_block = { "(" ~ "block" ~ port_lists? ~ signature? ~ meta* ~ region* ~ ")" }
71
- node_define_func = { "(" ~ "define-func" ~ symbol ~ meta* ~ region* ~ ")" }
71
+ node_define_func = { "(" ~ "define-func" ~ symbol? ~ meta* ~ region* ~ ")" }
72
72
node_declare_func = { "(" ~ "declare-func" ~ symbol ~ meta* ~ ")" }
73
73
node_define_alias = { "(" ~ "define-alias" ~ symbol ~ term ~ meta* ~ ")" }
74
74
node_declare_alias = { "(" ~ "declare-alias" ~ symbol ~ meta* ~ ")" }
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ impl<H: HugrMut<Node = Node>> ComposablePass<H> for RemoveDeadFuncsPass {
151
151
///
152
152
/// `entry_points` may provide a list of entry points, which must be [`FuncDefn`]s (children of the root).
153
153
/// * If the [HugrView::entrypoint] is the module root, then any [`FuncDefn`] children with a [link_name]
154
- /// will also be considered an entry point
154
+ /// will also be considered an entry point
155
155
/// * otherwise, the [HugrView::entrypoint] itself will.
156
156
///
157
157
/// # Errors
You can’t perform that action at this time.
0 commit comments