]> git.ipfire.org Git - thirdparty/vala.git/commit
vala, codegen: Add `o` modifier to regex literal
authorZhou Qiankang <wszqkzqk@qq.com>
Tue, 12 Mar 2024 06:38:08 +0000 (14:38 +0800)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 22 Mar 2024 11:56:34 +0000 (12:56 +0100)
commite42c1ee62d0ebc85e4e219455e9b494adf19fc17
tree7184b32dc3b290a8d5afc7c044090a844fd8d910
parent98c5bff85135a8e56cc7c2c0f062a382469f5943
vala, codegen: Add `o` modifier to regex literal

Use compile flag `G_REGEX_OPTIMIZE` to make use of JIT optimization
codegen/valaccodebasemodule.vala
tests/Makefile.am
tests/scanner/regex-modifier-o.c-expected [new file with mode: 0644]
tests/scanner/regex-modifier-o.vala [new file with mode: 0644]
tests/scanner/regex-multiple-o.test [new file with mode: 0644]
vala/valascanner.vala