mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-15 00:45:04 +01:00
more item cleanup
This commit is contained in:
parent
b021a9e218
commit
73a369730b
12 changed files with 104 additions and 88 deletions
|
|
@ -234,7 +234,7 @@ function parseItem(t: State): [State, Item<Parsed>] {
|
|||
[t, init] = parseExpr(t);
|
||||
[t] = expectNext(t, ";");
|
||||
|
||||
const global: ItemGlobal<Parsed> & Item<Parsed> = {
|
||||
const global: ItemGlobal<Parsed> = {
|
||||
kind: "global",
|
||||
name: name.ident,
|
||||
type,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue