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

resolve: allow if/for/while statements at toplevel #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 6, 2019

  1. resolve: allow if/for/while statements at toplevel

    These constructs are still disallowed in the Bazel build language,
    but it is easy to check for them as a separate pass over the syntax tree,
    so there is no need to complicate the spec with this restriction,
    which is a nuisance in other dialects.
    
    Clients that set the -globalreassign flag to suppress the check
    need do so no longer.
    
    Change-Id: I39ddb2128e6151a878a884fdb84d7017df2d5d51
    adonovan committed Jan 6, 2019
    Configuration menu
    Copy the full SHA
    45e0e2b View commit details
    Browse the repository at this point in the history