Rename Skylark to Starlark in the profiler
RELNOTES: None.
PiperOrigin-RevId: 220785445
diff --git a/src/main/java/com/google/devtools/build/lib/syntax/Parser.java b/src/main/java/com/google/devtools/build/lib/syntax/Parser.java
index 6226993..3524e84 100644
--- a/src/main/java/com/google/devtools/build/lib/syntax/Parser.java
+++ b/src/main/java/com/google/devtools/build/lib/syntax/Parser.java
@@ -191,7 +191,8 @@
Parser parser = new Parser(lexer, eventHandler);
List<Statement> statements;
try (SilentCloseable c =
- Profiler.instance().profile(ProfilerTask.SKYLARK_PARSER, input.getPath().getPathString())) {
+ Profiler.instance()
+ .profile(ProfilerTask.STARLARK_PARSER, input.getPath().getPathString())) {
statements = parser.parseFileInput();
}
boolean errors = parser.errorsCount > 0 || lexer.containsErrors();