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

Move custom operator handling to scanner.c #220

Merged
merged 2 commits into from
Sep 4, 2022
Merged

Commits on Sep 4, 2022

  1. Move custom operator handling to scanner.c

    Custom operator rules are better expressed as conditions to track in
    `eat_operator` vs a series of impenetrable regexes.
    
    Also requires a fix for an undiscovered bug where `x[...]!` was not
    considered to be a legal target for an expression. Since the old logic
    allowed `+=` to be a "custom operator", we were covering up for that
    failure by interpreting `x[...]! += y` as a custom infix expression.
    
    Fixes #5
    alex-pinkus committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    7303b6c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8752db8 View commit details
    Browse the repository at this point in the history