inpcom.c, reorder

This commit is contained in:
rlar 2013-08-03 21:45:40 +02:00
parent 0a2f5d2e55
commit 8fe86bb1c9
1 changed files with 22 additions and 22 deletions

View File

@ -2343,28 +2343,6 @@ inp_remove_excess_ws(struct line *c)
}
/*
* recursively expand library section references,
* either
* every library section reference (when the given section_name_ === NULL)
* or
* just those references occuring in the given library section definition
*/
static void
expand_section_references(struct line *c, char *dir_name)
{
for (; c; c = c->li_next) {
char *line = c->li_line;
if (ciprefix(".lib", line)) {
c = expand_section_ref(c, line, dir_name);
}
}
}
static struct line *
expand_section_ref(struct line *c, char *line, char *dir_name)
{
@ -2455,6 +2433,28 @@ expand_section_ref(struct line *c, char *line, char *dir_name)
}
/*
* recursively expand library section references,
* either
* every library section reference (when the given section_name_ === NULL)
* or
* just those references occuring in the given library section definition
*/
static void
expand_section_references(struct line *c, char *dir_name)
{
for (; c; c = c->li_next) {
char *line = c->li_line;
if (ciprefix(".lib", line)) {
c = expand_section_ref(c, line, dir_name);
}
}
}
static char*
inp_get_subckt_name(char *s)
{