Compare commits
2 Commits
fafb8cc272
...
236967a21e
| Author | SHA1 | Date |
|---|---|---|
|
|
236967a21e | |
|
|
8585383654 |
|
|
@ -1609,11 +1609,8 @@ static struct inp_read_t inp_read(FILE* fp, int call_depth, const char* dir_name
|
|||
char* tmpstr = copy(nexttok(buffer));
|
||||
wl_append_word(&sourceinfo, &sourceinfo, tmpstr);
|
||||
|
||||
/* Add source of netlist data, for use in verbose error messages.
|
||||
Set the compatibility mode flag to 1, if pslt is read. */
|
||||
/* Set the compatibility mode flag to 1, if pslt is read. */
|
||||
for (tmpcard = newcard; tmpcard; tmpcard = tmpcard->nextcard) {
|
||||
/* skip *include */
|
||||
tmpcard->linesource = tmpstr;
|
||||
if (compset)
|
||||
tmpcard->compmod = 1;
|
||||
else
|
||||
|
|
@ -9045,7 +9042,7 @@ static void inp_check_syntax(struct card *deck)
|
|||
acline = nexttok(acline);
|
||||
if (!acline) {
|
||||
fprintf(stderr, "Error in line %s\n", cut_line);
|
||||
fprintf(stderr, " Not enough parameters\n");
|
||||
fprintf(stderr, " Not enough parameters for %c source\n", *cut_line);
|
||||
fprintf(stderr,
|
||||
" line no. %d from file %s\n",
|
||||
card->linenum_orig, card->linesource);
|
||||
|
|
|
|||
Loading…
Reference in New Issue