I am using the lstlisting package and the semantic package. Now whenever I write a - (minus) inside a lstlisting it disappears after the compilation. Here is a minimal example:
\documentclass{article}
\usepackage{listings}
\usepackage{semantic}
\begin{document}
\begin{lstlisting}
->
\end{lstlisting}
\end{document}
How do I get this fixed?
A similar thread already exists, but the solutions shown there do not work for my problem.

