docs: note regarding emit with backticks (#17608)

This commit is contained in:
flywind
2021-04-02 12:06:50 +08:00
committed by GitHub
parent f0587e02e2
commit 2365b5250e

View File

@@ -7039,9 +7039,9 @@ Example:
void fun(){}
""".}
For backward compatibility, if the argument to the `emit` statement
is a single string literal, Nim symbols can be referred to via backticks.
This usage is however deprecated.
.. note:: For backward compatibility, if the argument to the `emit` statement
is a single string literal, Nim symbols can be referred to via backticks.
This usage is however deprecated.
For a top-level emit statement, the section where in the generated C/C++ file
the code should be emitted can be influenced via the