diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-02-19 20:27:58 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-02-19 20:27:58 +0000 |
commit | 86fcf8805aa5782314886e0f7e005f7179f60801 (patch) | |
tree | c7fd5c54b9768db32489f2bd159a288ae8ca763f /parsing/pcoq.ml4 | |
parent | 248728628f5da946f96c22ba0a0e7e9b33019382 (diff) |
avoid (Int.equal (cmp ...) 0) when a boolean equality exists
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16222 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing/pcoq.ml4')
-rw-r--r-- | parsing/pcoq.ml4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parsing/pcoq.ml4 b/parsing/pcoq.ml4 index e66458ebe..28c64c147 100644 --- a/parsing/pcoq.ml4 +++ b/parsing/pcoq.ml4 @@ -662,7 +662,7 @@ let is_self from e = | (ETName,ETName | ETReference, ETReference | ETBigint,ETBigint | ETPattern, ETPattern) -> true | ETOther(s1,s2), ETOther(s1',s2') -> - Int.equal (String.compare s1 s1') 0 && Int.equal (String.compare s2 s2') 0 + String.equal s1 s1' && String.equal s2 s2' | _ -> false let is_binder_level from e = |