From 3d508e9860e383b12468c92dd9d7c2f27ad2ff30 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Tue, 5 May 2020 03:33:56 +0200 Subject: [PATCH] Correctly align --- src/sfizz/OpcodeCleanup.re | 42 +++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/sfizz/OpcodeCleanup.re b/src/sfizz/OpcodeCleanup.re index 73ca1f4a..05305bff 100644 --- a/src/sfizz/OpcodeCleanup.re +++ b/src/sfizz/OpcodeCleanup.re @@ -117,34 +117,34 @@ end_generic: "polyphony_group" END { opcode = "group"; goto end_region; - } + } - "gain" ("_" any)? END { - opcode = absl::StrCat("volume", group(1)); - goto end_region; - } - "tune" ("_" any)? END { - opcode = absl::StrCat("pitch", group(1)); - goto end_region; - } + "gain" ("_" any)? END { + opcode = absl::StrCat("volume", group(1)); + goto end_region; + } + "tune" ("_" any)? END { + opcode = absl::StrCat("pitch", group(1)); + goto end_region; + } "on_" ("hi"|"lo") "cc" (number) END { opcode = absl::StrCat("start_", group(1), "cc", group(2)); goto end_region; } - "fil_" (any) END { - opcode = absl::StrCat("fil1_", group(1)); - goto end_region; - } - "cutoff" ("_" any)? END { - opcode = absl::StrCat("cutoff1", group(1)); - goto end_region; - } - "resonance" ("_" any)? END { - opcode = absl::StrCat("resonance1", group(1)); - goto end_region; - } + "fil_" (any) END { + opcode = absl::StrCat("fil1_", group(1)); + goto end_region; + } + "cutoff" ("_" any)? END { + opcode = absl::StrCat("cutoff1", group(1)); + goto end_region; + } + "resonance" ("_" any)? END { + opcode = absl::StrCat("resonance1", group(1)); + goto end_region; + } * { goto end_region;