1
0
mirror of https://github.com/e621ng/dtext_rb.git synced 2025-03-04 03:03:03 -05:00

Use -G2 option to generate Ragel parser

5529b7c641

Co-Authored-By: evazion <noizave@gmail.com>
This commit is contained in:
Earlopain 2023-03-26 23:11:02 +02:00
parent feca366bf7
commit 86f7d2308a
No known key found for this signature in database
GPG Key ID: 6CFB948E15246897

View File

@ -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)