Use _ instead of $ for implementation-detail Prolog predicates

Some non-Maven build systems can't handle $ in filenames, and this was
just an arbitrary convention, so it's harmless to change.

Change-Id: Ifae89dcc241f1859d2376df7fe226da766fc3011
This commit is contained in:
Dave Borowitz
2012-01-18 15:36:23 -08:00
parent d3a1bbbf38
commit 808ee99991
3 changed files with 6 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ get_commit_labels(Rs) :-
hash_get(commit_labels, '$all', Rs)
.
get_commit_labels(Rs) :-
'$load_commit_labels'(Rs),
'_load_commit_labels'(Rs),
set_commit_labels(Rs).
set_commit_labels(Rs) :-
@@ -101,7 +101,7 @@ user_label_range(Label, Who, Min, Max) :-
Who = user(_), !,
atom(Label),
current_user(Who, User),
'$user_label_range'(Label, User, Min, Max).
'_user_label_range'(Label, User, Min, Max).
user_label_range(Label, test_user(Name), Min, Max) :-
clause(user:test_grant(Label, test_user(Name), range(Min, Max)), _)
.