Skip to content

make case-stmt work without whitespace-control#117

Open
choltreppe wants to merge 1 commit into
enthus1ast:masterfrom
choltreppe:master
Open

make case-stmt work without whitespace-control#117
choltreppe wants to merge 1 commit into
enthus1ast:masterfrom
choltreppe:master

Conversation

@choltreppe

@choltreppe choltreppe commented Mar 23, 2026

Copy link
Copy Markdown

lets this compile by ignoring space after case

{% case x %}
{% of 0 %}zero
{% else %}positive
{% endcase %}

its not realy that neccesary and maybe strictly spoken wrong semantics because it ignores spaces implicitly. But it was something that irretatet me while, so I thought it might others too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant