[jruby-joni] 167/194: turn off syntax specific options after compilation

Hideki Yamane henrich at moszumanska.debian.org
Thu Feb 1 12:04:38 UTC 2018


This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch debian/sid
in repository jruby-joni.

commit 685e3755120e76214fdce5eac4ee3ef7d8bdeedc
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date:   Mon Jan 15 21:35:12 2018 +0100

    turn off syntax specific options after compilation
---
 src/org/joni/Analyser.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/org/joni/Analyser.java b/src/org/joni/Analyser.java
index 8261714..f38e45d 100644
--- a/src/org/joni/Analyser.java
+++ b/src/org/joni/Analyser.java
@@ -166,6 +166,8 @@ final class Analyser extends Parser {
             if (Config.USE_STRING_TEMPLATES) Config.log.print("templates: " + regex.templateNum + "\n");
             Config.log.println(new ByteCodePrinter(regex).byteCodeListToString());
         } // DEBUG_COMPILE
+
+        regex.options &= ~syntax.options;
     }
 
     private void noNameDisableMapFor_listAlt(Node node, int[]map, Ptr counter) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jruby-joni.git



More information about the pkg-java-commits mailing list