From 52b5e218c786db7ab82b60a9be006906659aa0b2 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Mon, 21 Jun 2021 13:49:53 +0200 Subject: [PATCH] Add '\f' to characters to be replace by '+' during the syntax check of an netlist input file. --- src/frontend/inpcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index a29ad70c8..40d2a2488 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -9037,7 +9037,7 @@ static void inp_check_syntax(struct card *deck) if (*cut_line == '*' || *cut_line == '\0') continue; // check for unusable leading characters and change them to '*' - if (strchr("=[]?()&%$\"!:,", *cut_line)) { + if (strchr("=[]?()&%$\"!:,\f", *cut_line)) { if (ft_stricterror) { fprintf(stderr, "Error: '%c' is not allowed as first character in line %s.\n", *cut_line, cut_line); controlled_exit(EXIT_BAD);