--- a/java/engine/org/apache/derby/impl/sql/compile/Token.java
+++ b/java/engine/org/apache/derby/impl/sql/compile/Token.java
@@ -98,7 +98,7 @@
    * to the following switch statement. Then you can cast matchedToken
    * variable to the appropriate type and use it in your lexical actions.
    */
-  public static final Token newToken(int ofKind)
+  public static final Token newToken(int ofKind, String curTokenImage)
   {
      switch(ofKind)
      {
