Browse Source

inpcom.c, reorder

pre-master-46
rlar 13 years ago
parent
commit
8fe86bb1c9
  1. 44
      src/frontend/inpcom.c

44
src/frontend/inpcom.c

@ -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)
{

Loading…
Cancel
Save