Mesa (master): docs: turn non-code into comment

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jan 21 17:45:00 UTC 2021


Module: Mesa
Branch: master
Commit: c3dbc4df194a15aa1cf09493a3100b59e37e48fe
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3dbc4df194a15aa1cf09493a3100b59e37e48fe

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Thu Jan 21 15:16:49 2021 +0100

docs: turn non-code into comment

If we want syntax-highlighting to actually work here, we should make
sure the code actually parses.

This fixes a warning during docs build.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8243>

---

 docs/drivers/freedreno/isaspec.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/drivers/freedreno/isaspec.rst b/docs/drivers/freedreno/isaspec.rst
index a1dffe9e0ee..5ecd7d9be27 100644
--- a/docs/drivers/freedreno/isaspec.rst
+++ b/docs/drivers/freedreno/isaspec.rst
@@ -54,7 +54,7 @@ instruction.  Deciding which instruction a bitpattern is amounts to:
    m = (val & bitsets[n]->mask) & ~bitsets[n]->dontcare;
 
    if (m == bitsets[n]->match) {
-      ... we've found the instruction description ...
+      /* we've found the instruction description */
    }
 
 For example, the starting point to decode an ir3 instruction is a 64b



More information about the mesa-commit mailing list