summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-03-27 02:28:11 -0700
committerGitHub <noreply@github.com>2021-03-27 10:28:11 +0100
commita65189a739c59fcc0d7b3f8fdcb2cf8bed432f68 (patch)
tree079934acdaad7f51edd35b54e2390c3c2f08daed /doc
parent8ed6de4fe6517dc4db38ab5dea898c0016d1c08a (diff)
downloadNim-a65189a739c59fcc0d7b3f8fdcb2cf8bed432f68.tar.gz
nnkArglist => nnkArgList + special case stylecheck:error (#17529)
* nnkArglist => nnkArgList

* special case stylecheck:error
Diffstat (limited to 'doc')
-rw-r--r--doc/astspec.txt2
-rw-r--r--doc/manual_experimental.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/astspec.txt b/doc/astspec.txt
index c49f7bcc2..b4b8b34b5 100644
--- a/doc/astspec.txt
+++ b/doc/astspec.txt
@@ -1135,7 +1135,7 @@ AST:
 .. code-block:: nim
   # ...
   nnkTypeClassTy( # note this isn't nnkConceptTy!
-    nnkArglist(
+    nnkArgList(
       # ... idents for x, y, z
     )
     # ...
diff --git a/doc/manual_experimental.rst b/doc/manual_experimental.rst
index cf2e0c247..fc46a2a14 100644
--- a/doc/manual_experimental.rst
+++ b/doc/manual_experimental.rst
@@ -1283,7 +1283,7 @@ all the arguments, but also the matched operators in reverse polish notation:
   echo x + y * z - x
 
 This passes the expression `x + y * z - x` to the `optM` macro as
-an `nnkArglist` node containing::
+an `nnkArgList` node containing::
 
   Arglist
     Sym "x"