Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parser: Allow then to be placed at min indentation #2656

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

fridis
Copy link
Member

@fridis fridis commented Mar 4, 2024

This permits code like

  if a=b
  then
    say "equal"
  else
    say "not equal"

which is also permitted for do, while, until and seems more uniform.

This permits code like

  if a=b
  then
    say "equal"
  else
    say "not equal"

which is also permitted for `do`, `while`, `until` and seems more uniform.
@fridis fridis requested a review from maxteufel March 4, 2024 17:44
@michaellilltokiwa michaellilltokiwa merged commit c67ee8a into main Mar 5, 2024
5 checks passed
@michaellilltokiwa michaellilltokiwa deleted the parser_then_at_minindent branch March 5, 2024 11:15
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.

None yet

3 participants