Skip to content

Commit fab7bbb

Browse files
committed
Base.findfirst and findall
1 parent 3474629 commit fab7bbb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/@aml/@aml_parse.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function aml_parse(expr::Expr)
1818
argsexpr = expr.args[3] # arguments of the type
1919

2020
# TODO: optimize and fuse these
21-
areargs_inds = findall(x->!(isa(x, LineNumberNode)), argsexpr.args)
21+
areargs_inds = Base.findall(x->!(isa(x, LineNumberNode)), argsexpr.args)
2222
macronum = count(x-> isa(x, Tuple{Symbol, Expr}), argsexpr.args)
2323

2424
data = argsexpr.args[areargs_inds]

src/xmlutils/TypesSupport/amlTables.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function amlTable(x)
66
pretty_table(io, x, backend = :html, standalone = false)
77
str = String(resize!(io.data, io.size))
88

9-
html = findfirst("html/body/table",parsehtml(str))
9+
html = Base.findfirst("html/body/table",parsehtml(str))
1010
unlink!(html)
1111
return html
1212
end

0 commit comments

Comments
 (0)