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

Define condition variable-used-in-multiple-accumulations #83

Open
robert-strandh opened this issue Apr 21, 2017 · 0 comments
Open

Define condition variable-used-in-multiple-accumulations #83

robert-strandh opened this issue Apr 21, 2017 · 0 comments

Comments

@robert-strandh
Copy link
Owner

  • In the file Code/Loop/compile-time-conditions.lisp, define a new
    condition VARIABLE-USED-IN-MULTIPLE-ACCUMULATIONS. It should have
    slots for the variable, and two accumulation types.

  • In the file Code/Loop/condition-reporters-english.lisp, define a
    condition reporter, modeled after the others in the same file,
    specialized to the new condition type. The message should be the one
    that is currently in the call to ERROR in the file
    Code/Loop/analysis.lisp, in the function
    CHECK-ACCUMULATION-CATEGORIES.

  • In the file Code/Loop/analysis.lisp, in the function
    CHECK-ACCUMULATION-CATEGORIES, replace the existing call to ERROR by a
    call to ERROR using the new condition.

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

No branches or pull requests

1 participant