on master help sign in
tutorial ffi: add emphasis

Add emphasis to 'target' in the examples so the string 'target' doesn't get confused with concrete syntax: %include target "x"

commitae95dc6bbfd79f3d29bec8dd00d9c8c68b16ad7a authorReynir Reynisson <reynir@reynir.dk> dateSun 6 Oct 2013, 23:36 (13 years ago) parent0d5c5b6
1 file changed+3−3
tutorial/miscellany.tex+3−3
tutorial/miscellany.tex+3−3
@@ -224,11 +224,11 @@ Often this will require extra libraries to be linked in, or extra header and obj
224224This is made possible through the following directives:
225225
226226\begin{itemize}
227−\item \texttt{\%lib target "x"} --- include the \texttt{libx} library. If the target is \texttt{C} this is equivalent to passing the
227+\item \texttt{\%lib \emph{target} "x"} --- include the \texttt{libx} library. If the target is \texttt{C} this is equivalent to passing the
228228\texttt{-lx} option to \texttt{gcc}. If the target is Java the library will be interpreted as a
229229"groupId:artifactId:packaging:version" dependency coordinate for maven.
230−\item \texttt{\%include target "x"} --- use the header file or import \texttt{x} for the given back end target.
231−\item \texttt{\%link target "x.o"} --- link with the object file \texttt{x.o} when using the given back end target.
230+\item \texttt{\%include \emph{target} "x"} --- use the header file or import \texttt{x} for the given back end target.
231+\item \texttt{\%link \emph{target} "x.o"} --- link with the object file \texttt{x.o} when using the given back end target.
232232\item \texttt{\%dynamic "x.so"} --- dynamically link the interpreter with the shared object \texttt{x.so}.
233233\end{itemize}
234234