Commit ecb711fc authored by petter's avatar petter

Forgotten alternative code generation when adding Warning-Suppression


git-svn-id: https://www2.in.tum.de/repos/cup/develop@59 f8377d4f-c7f8-0310-b030-a31f13008fac
parent 613fa139
......@@ -1067,6 +1067,7 @@ public class emit {
out.println(
"/** Cup generated class to encapsulate user supplied action code.*/"
);
out.println("@SuppressWarnings({\"rawtypes\", \"unchecked\", \"unused\"})");
out.println("class " + pre("actions") + typeArgument() + " {");
/* user supplied code */
if (action_code != null)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment