-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We need to be able to read the file syntax before creating the loader so we can determine imports from command line files, but currently the syntax cache is only created as part of the loader. This CL factors out the syntax cache into its own value so it can be used independently of the loader. For #3144 For #3147 Signed-off-by: Roger Peppe <rogpeppe@gmail.com> Change-Id: I2845406e7006a2ff9cc0b6d5dbb59798a8b1b30d Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1194764 Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
- Loading branch information
Showing
3 changed files
with
69 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters