-/* $OpenBSD: interpreter.c,v 1.28 2021/05/07 07:42:20 lum Exp $ */
+/* $OpenBSD: interpreter.c,v 1.29 2021/05/07 08:29:30 lum Exp $ */
/*
* This file is in the public domain.
*
}
esc = spc = 0;
} else if (*p != ' ' && *p != '\t') {
- if (begp == NULL)
+ if (begp == NULL) {
begp = p;
+ if (*begp == '"')
+ return(dobeep_num("First char of "\
+ "expression error line:", lnm));
+ }
if (*p == '"') {
if (inquote == 0 && esc == 0) {
if (*prechr != ' ' && *prechr != '\t')