Adding Stateful, giving up on elm style purity, components get their own state
This commit is contained in:
parent
9d1b079361
commit
a9afb03694
6 changed files with 291 additions and 43 deletions
|
|
@ -147,7 +147,7 @@ export class Parser {
|
|||
}
|
||||
|
||||
// Let
|
||||
if (this.current().kind === 'ident' && this.peek().kind === 'equals') {
|
||||
if ((this.current().kind === 'ident' || this.current().kind === 'underscore') && this.peek().kind === 'equals') {
|
||||
return this.parseLet();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue