From 86f7d2308ab9ccde0dc8248c832ef73af17c9c2a Mon Sep 17 00:00:00 2001 From: Earlopain Date: Sun, 26 Mar 2023 23:11:02 +0200 Subject: [PATCH] Use -G2 option to generate Ragel parser https://github.com/danbooru/dtext_rb/commit/5529b7c6411f8bfe8082293d0c79aae482e55f7d Co-Authored-By: evazion --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 5dc89c2..c6047e6 100644 --- a/Rakefile +++ b/Rakefile @@ -19,7 +19,7 @@ Rake::ExtensionTask.new "dtext" do |ext| end file "ext/dtext/dtext.cpp" => Dir["ext/dtext/dtext.{cpp.rl,h}", "Rakefile"] do - sh "ragel -G1 -C ext/dtext/dtext.cpp.rl -o ext/dtext/dtext.cpp" + sh "ragel -G2 -C ext/dtext/dtext.cpp.rl -o ext/dtext/dtext.cpp" end def run_dtext(*args)