aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/syntax/Expression.java
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2015-09-25 12:36:12 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-09-25 14:42:52 +0000
commit5de6cac50a3da0e961035396e007d8ca5aa294d0 (patch)
treeffb323e77aeb1204600f1a275da6cc7c7d01eb85 /src/main/java/com/google/devtools/build/lib/syntax/Expression.java
parentb8a6a943212b557b4faa864dc16118a62424e91f (diff)
Use Label.parseAbsolute() to determine whether command line options that can take absolute paths and labels are labels.
This makes them work with labels not in the main repository (i.e. @repo//pkg:target). The alternative would have been to simply add .startsWith("@"), but why try to parse labels in a lame and limited way if we can do the right thing. -- MOS_MIGRATED_REVID=103934380
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/syntax/Expression.java')
0 files changed, 0 insertions, 0 deletions