Signed-off-by: Jean Privat <jean@pryen.org>
fun get_errors: Array[String]
do
fun get_errors: Array[String]
do
- var errors: Array[String] = new Array[String]
+ var errors = new Array[String]
errors.add_all(errors)
for o in options do
for e in o.errors do
errors.add_all(errors)
for o in options do
for e in o.errors do
redef fun next do
if pos < 0 then return
redef fun next do
if pos < 0 then return
- var curr: nullable RopeIterPiece = iter.prev
var currit = curr.node
while curr != null do
currit = curr.node
var currit = curr.node
while curr != null do
currit = curr.node
pos += str.length
if pos > max then return
var it = iter.prev
pos += str.length
if pos > max then return
var it = iter.prev
- var rnod: String = it.node
loop
if not rnod isa Concat then
it.ldone = true
loop
if not rnod isa Concat then
it.ldone = true
if length == 0 then return
var c = self[0].to_upper
self[0] = c
if length == 0 then return
var c = self[0].to_upper
self[0] = c
for i in [1 .. length[ do
prev = c
c = self[i]
for i in [1 .. length[ do
prev = c
c = self[i]