This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, committed] PR jit/65691: Fix copy&paste error in jit docs
- From: David Malcolm <dmalcolm at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, jit at gcc dot gnu dot org
- Cc: David Malcolm <dmalcolm at redhat dot com>
- Date: Thu, 9 Apr 2015 16:11:30 -0400
- Subject: [PATCH, committed] PR jit/65691: Fix copy&paste error in jit docs
- Authentication-results: sourceware.org; auth=none
I've committed the following trivial patch to trunk (as r221959).
gcc/jit/ChangeLog:
PR jit/65691
* docs/cp/topics/expressions.rst (Simple expressions): Fix copy
and paste error in description of gccjit::context::one.
* docs/topics/expressions.rst (Simple expressions): Likewise in
description of gcc_jit_context_one.
* docs/_build/texinfo/libgccjit.texi: Regenerate.
---
gcc/jit/docs/cp/topics/expressions.rst | 2 +-
gcc/jit/docs/topics/expressions.rst | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/jit/docs/cp/topics/expressions.rst b/gcc/jit/docs/cp/topics/expressions.rst
index bacfde1..4ea2622 100644
--- a/gcc/jit/docs/cp/topics/expressions.rst
+++ b/gcc/jit/docs/cp/topics/expressions.rst
@@ -80,7 +80,7 @@ Simple expressions
gccjit::context::one (gccjit::type numeric_type) const
Given a numeric type (integer or floating point), get the rvalue for
- zero. Essentially this is just a shortcut for:
+ one. Essentially this is just a shortcut for:
.. code-block:: c++
diff --git a/gcc/jit/docs/topics/expressions.rst b/gcc/jit/docs/topics/expressions.rst
index 49317b9..621991f 100644
--- a/gcc/jit/docs/topics/expressions.rst
+++ b/gcc/jit/docs/topics/expressions.rst
@@ -84,7 +84,7 @@ Simple expressions
gcc_jit_type *numeric_type)
Given a numeric type (integer or floating point), get the rvalue for
- zero. Essentially this is just a shortcut for:
+ one. Essentially this is just a shortcut for:
.. code-block:: c
--
1.8.5.3