Recovered from cvs revision 2007-06-25 10:17:00
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: Awk.java,v 1.10 2007/05/26 10:52:48 bacon Exp $
|
||||
* $Id: Awk.java,v 1.11 2007/06/24 11:14:58 bacon Exp $
|
||||
*
|
||||
* {License}
|
||||
*/
|
||||
@ -75,6 +75,8 @@ public abstract class Awk
|
||||
private native boolean getdebug ();
|
||||
private native void setdebug (boolean debug);
|
||||
|
||||
private native void setword (String ow, String nw);
|
||||
|
||||
private native void addbfn (
|
||||
String name, int min_args, int max_args) throws Exception;
|
||||
private native void delbfn (String name) throws Exception;
|
||||
@ -256,6 +258,11 @@ public abstract class Awk
|
||||
setdebug (debug);
|
||||
}
|
||||
|
||||
public void setWord (String ow, String nw)
|
||||
{
|
||||
setword (ow, nw);
|
||||
}
|
||||
|
||||
/* == source code management == */
|
||||
protected abstract int openSource (int mode);
|
||||
protected abstract int closeSource (int mode);
|
||||
|
Reference in New Issue
Block a user