Skip to content

Commit 3203ce9

Browse files
fix typo in docs
1 parent cfd212c commit 3203ce9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/static/asm.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Because of this, the correct time to switch sections is usually every time you s
3636
To define a symbol in a block that can be referenced from other blocks, you should do :code:`.local _symbol` or :code:`.global _symbol` right before its definition.
3737
If it is local then it is only able to be referenced from the same file and no :ref:`.extern <asm-extern>` should be used.
3838
If it is global then it can be referenced within the same file without :ref:`.extern <asm-extern>` just like local symbols, but global symbols can also be referenced from other files and even C/C++!
39-
The gllobal assembly symbol named :code:`_symbol` is accessible in C by the global name :code:`symbol` (note the leading underscore), assuming it is properly declared, with your asm symbol acting as the definition.
39+
The global assembly symbol named :code:`_symbol` in assembly is accessible in C using the name :code:`symbol`, without the leading underscore.
4040

4141
.. _asm-extern:
4242

0 commit comments

Comments
 (0)