Skip to content

Commit

Permalink
Minor patches to make this compile with newer revisions of the Java s…
Browse files Browse the repository at this point in the history
…pec.
  • Loading branch information
icculus committed Dec 30, 2003
1 parent 6e2ac36 commit e777314
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion last/toby/exceptions/FlowException.java
Expand Up @@ -47,7 +47,7 @@ protected FlowException() // no public construction.
* returns : Constructor; void.
*/
{
super(null);
super((java.lang.String) null);
} // Constructor


Expand Down
6 changes: 3 additions & 3 deletions last/toby/parsers/Parser.java
Expand Up @@ -55,10 +55,10 @@ protected void _D(String funcName, String msg)
* @param expression true or false expression.
* @throw ParseException if (expression) is true.
*/
public static void assert(boolean expression) throws ParseException
public static void _assert(boolean expression) throws ParseException
{
BugSquasher.assert(expression);
} // assert
BugSquasher._assert(expression);
} // _assert

/**
* A simple bubble sort to alphabetize an array of strings.
Expand Down
4 changes: 2 additions & 2 deletions last/toby/util/BugSquasher.java
Expand Up @@ -39,14 +39,14 @@ public class BugSquasher
* @param expression true or false expression.
* @throw ParseException if (expression) is true.
*/
public static void assert(boolean expression) throws ParseException
public static void _assert(boolean expression) throws ParseException
{
if (debugging == true)
{
if (expression == true)
ParseException._throw(TobyLanguage.INTERNAL_ERROR);
} // if
} // assert
} // _assert


/**
Expand Down

0 comments on commit e777314

Please sign in to comment.