17 lines
377 B
Markdown
17 lines
377 B
Markdown
```
|
|
> "hello
|
|
-> unfinished quote "
|
|
> def concept unfinished quote q
|
|
... where:
|
|
...... q in ('"', '"')
|
|
... desc:
|
|
...... "Error detected by the default parser where the trailing quote is missing"
|
|
... input = sheerka.last_input
|
|
|
|
|
|
> when unfinished quote q as c:
|
|
... add rule as:
|
|
...... if q in sheerka.input:
|
|
......... sheerka.resume(c, c.input + input)
|
|
......... remove rule
|
|
``` |