Return Interval? instead of Interval

This commit is contained in:
Sam Harwell 2013-02-26 10:55:51 -06:00
parent 2e57495fe4
commit 72c0535d3e
1 changed files with 2 additions and 2 deletions

View File

@ -181,10 +181,10 @@ namespace Antlr4.Runtime.Misc
/// , which would result in two disjoint intervals
/// instead of the single one returned by this method.
/// </summary>
public Antlr4.Runtime.Misc.Interval DifferenceNotProperlyContained(Antlr4.Runtime.Misc.Interval
public Antlr4.Runtime.Misc.Interval? DifferenceNotProperlyContained(Antlr4.Runtime.Misc.Interval
other)
{
Antlr4.Runtime.Misc.Interval diff = null;
Antlr4.Runtime.Misc.Interval? diff = null;
// other.a to left of this.a (or same)
if (other.StartsBeforeNonDisjoint(this))
{