From c0dfdf1d3d97fce2ea936fc2fdfa5ba61afa8ef7 Mon Sep 17 00:00:00 2001 From: Alexander Cerutti Date: Sat, 25 Sep 2021 20:18:41 +0200 Subject: [PATCH] Removed forgotten design comment --- src/PKPass.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/PKPass.ts b/src/PKPass.ts index 87ef037..c9bcfd0 100644 --- a/src/PKPass.ts +++ b/src/PKPass.ts @@ -686,14 +686,6 @@ function parseStringsFile(buffer: Buffer) { const translationRowRegex = /"(?.+)"\s+=\s+"(?.+)";\n?/; const commentRowRegex = /\/\*\s*(.+)\s*\*\//; - /** - * Regole di parsing: - * 1) Uso un solo ciclo - * 2) Accumulo il cursore finché non trovo "\n" oppure il contenuto non è finito - * 3) Quando questo succede, parso il blocco. Ho due blocchi possibili: commento e riga - * - */ - let translations: [placeholder: string, value: string][] = []; let comments: string[] = [];