From 9e9f73e98a399180afc1a618bd4cba534fa5ed7b Mon Sep 17 00:00:00 2001 From: Michi Henning Date: Thu, 25 Jul 2002 07:04:46 +0000 Subject: Changed Slice parser to disallow leading underscore for identifiers. Changed Slice parser to reject identifiers beginning with "Ice", unless the --ice option is used. Changed Slice parser to disallow identifiers that have a trailing "Operations", "Holder", "Helper", "Prx", or "Ptr", to avoid clashes with language mappings. Fixed tests and remaining code base to work correctly with the changed rules. --- java/ant/Slice2JavaTask.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'java/ant/Slice2JavaTask.java') diff --git a/java/ant/Slice2JavaTask.java b/java/ant/Slice2JavaTask.java index 68d8344acec..7b7f0cd08dd 100644 --- a/java/ant/Slice2JavaTask.java +++ b/java/ant/Slice2JavaTask.java @@ -196,6 +196,11 @@ public class Slice2JavaTask extends org.apache.tools.ant.Task { StringBuffer cmd = new StringBuffer(); + // + // Add --ice + // + cmd.append(" --ice"); + // // Add --output-dir // -- cgit v1.2.3