From 441b5bf8d6f6f1a969741c361181958a01c53fe2 Mon Sep 17 00:00:00 2001 From: nishi Date: Tue, 23 Apr 2024 23:27:32 +0000 Subject: [PATCH] comment git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@23 0f02c867-ac3d-714e-8a88-971ba1f6efcf --- Serenade/parser.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Serenade/parser.c b/Serenade/parser.c index 1e6a7f2..12fdc21 100644 --- a/Serenade/parser.c +++ b/Serenade/parser.c @@ -170,7 +170,10 @@ struct sn_generic** sn_parse(char* data, unsigned long long size) { gens[0] = NULL; for(i = 0; i < size; i++) { char c = data[i]; - if(c == '"') { + if(c == ';') { + for(; i < size && data[i] != '\n'; i++) + ; + } else if(c == '"') { dq = !dq; } else if(dq) { } else if(c == '(') { -- 2.43.0