More functionality in api

This commit is contained in:
Olli Väinölä
2015-11-30 18:45:05 +02:00
parent 704330135e
commit ae9729c808
2 changed files with 41 additions and 9 deletions
-1
View File
@@ -67,7 +67,6 @@ end
Parse elements from input.
"""
function parse_section(model::Model, lines, key, idx_start, idx_end, ::Type{Val{:ELEMENT}})
# LISÄÄ TOIMINTO, ETTÄ VOI LUKEA SUORAAN ELSETIT
definition = uppercase(lines[idx_start])
element_type = regex_match(r"TYPE=([\w\-\_]+)", definition, 1)
eltype_sym = symbol(element_type)