Corrected Start/Stop spelling
This commit is contained in:
parent
c1c069cf5e
commit
dced604c7c
|
@ -443,8 +443,8 @@ func (tsr *TokenStreamRewriter)GetTextDefault() string{
|
|||
// instructions given to this rewriter.
|
||||
func (tsr *TokenStreamRewriter)GetText(program_name string, interval *Interval) string {
|
||||
rewrites := tsr.programs[program_name]
|
||||
start := interval.start
|
||||
stop := interval.stop
|
||||
start := interval.Start
|
||||
stop := interval.Stop
|
||||
// ensure start/end are in range
|
||||
stop = min(stop, tsr.tokens.Size()-1)
|
||||
start = max(start,0)
|
||||
|
|
Loading…
Reference in New Issue