1 1)Copy Parser.jjt in a dedicated directory. 2 3 2) Grammar modificatiobns: 4 Grammar located in file Parser.jjt : 5 6 3) Command : 7 /usr/lang/JAVA/JavaCC_2.0/bin/jjtree Parser.jjt 8 /usr/lang/JAVA/JavaCC_2.0/bin/javacc Parser.jj 9 10 4) Files to copy back in IPAcl directory: 11 If you added new node (eg :IpV6Address()) copy the JDM file (eg:JDMIpV6Address.java) 12 In any cases copy back (These files must be checkedout in IPAcl directory): 13 ASCII_CharStream.java 14 JJTParserState.java 15 ParseException.java 16 Parser.java 17 ParserConstants.java 18 ParserTokenManager.java 19 ParserTreeConstants.java 20 TokenMgrError.java 21 22 5) You need to modify any JDM files you copied back. Lauch the compilation and you will see what is wrong. 23 Have a look to similar nodes in order to see how to modify. Some protected methods have to be overloaded. 24 25 6) Once your updates are running, copy back: 26 Parser.jj 27 Parser.jjt 28 29 7) DONE.