commit | 2a46d749ed76357fcc24b9c91726735db57a31e7 | [log] [tgz] |
---|---|---|
author | fzaiser <fzaiser@google.com> | Mon Oct 02 19:59:28 2017 +0200 |
committer | Klaus Aehlig <aehlig@google.com> | Fri Oct 06 19:42:00 2017 +0200 |
tree | a9012f8d1d14bc2a90f8ec345d660858d810a0fa | |
parent | b8d4be0fc8a368de1bba40a27d2daa7110f1dccc [diff] |
Skylark parser: make the end position of location ranges inclusive. Previously, the end line and column of a location were the position past the actual end of a location. This makes sense for the end offset, because one can use `input.substring(startOffset, endOffset)` to get the string belonging to an ASTNode. However the line and column (as opposed to the offset) aren't used for that. Therefore I made the change that the end line and column now point to the last character in the location. This is also they way every compiler I know does it. RELNOTES: none PiperOrigin-RevId: 170723732
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase and Continuous Integration system. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.