blob: 1aa5e62feca9326489189a2f191cebf6b174c8ec [file] [log] [blame]
david_williams42a0eab2005-06-21 16:34:05 +00001#!/usr/bin/sed
2
3#
4# The SSE generally uses compiler setting to turn most warnings into errors.
5# This is a little problematic for JavaCC generated files. We don't want
6# to distribute a customized version of JavaCC nor is there any "template"
7# mechanism. So, this simple sed script goes through the generated token
8# manager and fixes a few things. If JavaCC changes the generated code,
9# it's likely that this script will no longer do the right thing. Ditto with
10# any version of JavaCC besides 3.2. Also, there's no guarantee that this
11# script will even work with an arbitrary JavaCC grammar. It's only been tested
12# with the current JSP EL grammar.
13#
14# Author: Ted A. Carroll (tcarroll@bea.com)
15#
16
17s/static private final class LookaheadSuccess extends java.lang.Error { }/static private final class LookaheadSuccess extends java.lang.Error { \n private static final long serialVersionUID = 1L; \n }/g
18