git.annexia.org
/
whenjobs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65b5a30
)
Fix error message; arguments were swapped around.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 21 Feb 2012 16:03:33 +0000
(16:03 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 21 Feb 2012 16:04:47 +0000
(16:04 +0000)
lib/whenutils.ml
patch
|
blob
|
history
diff --git
a/lib/whenutils.ml
b/lib/whenutils.ml
index
cdfca47
..
d53ac7e
100644
(file)
--- a/
lib/whenutils.ml
+++ b/
lib/whenutils.ml
@@
-249,7
+249,7
@@
and expr_of_iexpr _loc = function
| IExpr_app (("change"|"changes"|"changed"|"inc"|"increase"|"increases"|"increased"|"dec"|"decrease"|"decreases"|"decreased"|"prev"|"previous") as op, _) ->
invalid_arg (sprintf "%s: '%s' operator must be followed by a variable name"
-
op (Loc.to_string _loc)
)
+
(Loc.to_string _loc) op
)
| IExpr_app (op, _) ->
invalid_arg (sprintf "%s: unknown operator in expression: %s"