I am not sure if I am using the right wording in title. Basically what I need is to add the following source using the listing package.
In preamble:
\usepackage{listings}
then and is here when I have the problem:
\begin{lstlisting}
\begin{lstlisting}
\end{lstlisting}
\end{lstlisting}
but I am getting Package Listings Error: Extra \endlstlisting
.
How can I "mask" the first \end{lstlisting}
? I've been through the documentation but I am lost.