emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org d700dff: ob-java: Include static imports in regex


From: ELPA Syncer
Subject: [elpa] externals/org d700dff: ob-java: Include static imports in regex
Date: Sat, 16 Jan 2021 15:57:11 -0500 (EST)

branch: externals/org
commit d700dff7ac564b797632c8b9b6120a6c8e8fecda
Author: John Herrlin <jherrlin@gmail.com>
Commit: Ian Martins <ianxm@jhu.edu>

    ob-java: Include static imports in regex
    
    * lisp/ob-java.el (org-babel-java--imports-re): Include static imports
    in Java import regex.
    
    TINYCHANGE
---
 lisp/ob-java.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/ob-java.el b/lisp/ob-java.el
index f70a501..c9698bd 100644
--- a/lisp/ob-java.el
+++ b/lisp/ob-java.el
@@ -87,6 +87,7 @@ like javac -verbose."
                                         (0+ space) ?\; line-end)
   "Regexp for the package statement.")
 (defconst org-babel-java--imports-re (rx line-start (0+ space) "import"
+                                         (opt (1+ space) "static")
                                         (1+ space) (group (1+ (in alnum ?_ 
?.))) ; capture the fully qualified class name
                                         (0+ space) ?\; line-end)
   "Regexp for import statements.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]