From 0cbed4a779c4168ae7ee854a9cb2c189b15200be Mon Sep 17 00:00:00 2001 From: Kevin Glynn Date: Fri, 7 Jan 2011 16:14:17 +0100 Subject: [PATCH] add import and modify package templates for imports --- .../antlr3/src/cs2j/bin/Debug/templates/java.stg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CSharpTranslator/antlr3/src/cs2j/bin/Debug/templates/java.stg b/CSharpTranslator/antlr3/src/cs2j/bin/Debug/templates/java.stg index bd9fecb..2bde08d 100644 --- a/CSharpTranslator/antlr3/src/cs2j/bin/Debug/templates/java.stg +++ b/CSharpTranslator/antlr3/src/cs2j/bin/Debug/templates/java.stg @@ -16,16 +16,20 @@ itsmine(now, includeDate) ::= << >> -package(now, includeDate, packageName, comments, modifiers, type, endComments) ::= << +package(now, includeDate, packageName, imports, comments, modifiers, type, endComments) ::= << package ; + + >> +import_template(ns) ::= "import ;" + // ******* CLASSES *********** class(modifiers, comments, attributes, name, typeparams, extends, imps, body) ::= <<