summaryrefslogtreecommitdiff
path: root/docs/develop/compiler.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/develop/compiler.rst')
-rw-r--r--docs/develop/compiler.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/develop/compiler.rst b/docs/develop/compiler.rst
index 00cc90f81..0c25ad3a0 100644
--- a/docs/develop/compiler.rst
+++ b/docs/develop/compiler.rst
@@ -98,7 +98,7 @@ Then also edit ``py/lexer.c`` to add the new keyword literal text:
.. code-block:: c
:emphasize-lines: 12
- STATIC const char *const tok_kw[] = {
+ static const char *const tok_kw[] = {
...
"or",
"pass",
@@ -301,7 +301,7 @@ code statement:
.. code-block:: c
- STATIC void emit_native_unary_op(emit_t *emit, mp_unary_op_t op) {
+ static void emit_native_unary_op(emit_t *emit, mp_unary_op_t op) {
vtype_kind_t vtype;
emit_pre_pop_reg(emit, &vtype, REG_ARG_2);
if (vtype == VTYPE_PYOBJ) {