From 6dd02eaf64c434200fc4b2623ca22169b7eb98a4 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Thu, 1 Nov 2018 20:47:52 +0100 Subject: [PATCH] Revert "allow model names starting with underscore _" This reverts commit df411ad1c9477265a23d001718ce6d92c3d7c6ff. --- src/frontend/inpcom.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index a54a94297..7788e80de 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -1821,10 +1821,6 @@ is_a_modelname(const char *s) if (isalpha_c(s[0])) return TRUE; - /* people use model names starting with '_' */ - if (s[0] == '_') - return TRUE; - /* e.g. 1N4002, but do not accept floats (for example 1E2) */ if (isdigit_c(s[0]) && isalpha_c(s[1]) && isdigit_c(s[2]) && toupper_c(s[1]) != 'E') return TRUE;