commit 9674eb561f89dca6562507c91defa679006d921d
parent 4f549171389133e6c8ae751a0d7ebcee9dd1c366
Auteur: Selve <selve@asteride.xyz>
Date: Sat, 25 Nov 2023 15:29:32 -0500
ajout de commentaires
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/aplat.c b/aplat.c
@@ -184,6 +184,7 @@ prch_jeton(FILE *f, struct tampon *tp, int tp_type)
case ' ': case '\t': case '\n':
return JT_ATM;
case '"':
+ /* compter le nombre de guillemets */
for (npar = 1; (c = getc(f)) == '"'; npar++)
if (c == EOF)
return EOF;
@@ -331,6 +332,7 @@ bloc(FILE *f, struct tampon *tp)
tp_ecr('t', tp);
continue;
case '"':
+ /* compter le nombre de guillemets */
for (npar = 1; (c = getc(f)) == '"'; npar++)
;
if (npar > NGUI || (npar == NGUI && c != '!')) {