[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/lex cd89324 6/7: * packages/gnome-c-style/gnome-c-tests
From: |
Stefan Monnier |
Subject: |
[elpa] externals/lex cd89324 6/7: * packages/gnome-c-style/gnome-c-tests.el: Add copyright blurb |
Date: |
Tue, 1 Dec 2020 16:18:11 -0500 (EST) |
branch: externals/lex
commit cd89324f9117ad08acd9352ea9c19a893b3dfb78
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* packages/gnome-c-style/gnome-c-tests.el: Add copyright blurb
---
lex.el | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/lex.el b/lex.el
index bd84f58..6ba8123 100644
--- a/lex.el
+++ b/lex.el
@@ -1,6 +1,6 @@
;;; lex.el --- Lexical analyser construction -*- lexical-binding:t -*-
-;; Copyright (C) 2008,2013,2014 Free Software Foundation, Inc.
+;; Copyright (C) 2008,2013,2014,2015 Free Software Foundation, Inc.
;; Author: Stefan Monnier <monnier@iro.umontreal.ca>
;; Keywords:
@@ -918,7 +918,15 @@ Returns a new NFA."
res))
+;;;###autoload
(defun lex-compile (alist)
+ "Compile a set of regular expressions.
+ALIST is a list of elements of the form (REGEXP . VALUE).
+The compiled automaton will match all those regexps at the same time
+and will return the VALUE fof the leftmost longest match.
+
+Each REGEXP object should be in the sexp form described in the
+Commentary section."
(lex--dfa-wrapper
(lambda ()
(let* ((lex--char-equiv-table
- [elpa] branch externals/lex created (now a25aef6), Stefan Monnier, 2020/12/01
- [elpa] externals/lex 02a8843 1/7: New package lex.el., Stefan Monnier, 2020/12/01
- [elpa] externals/lex d5f1594 3/7: * lex.el: Compatibility fix, Stefan Monnier, 2020/12/01
- [elpa] externals/lex e9faad4 4/7: Only keep the strictly necessary *-pkg.el files, Stefan Monnier, 2020/12/01
- [elpa] externals/lex 5483ed3 5/7: * packages/lex/lex.el: Use lexical-binding., Stefan Monnier, 2020/12/01
- [elpa] externals/lex fe3a98b 2/7: * packages/lex/lex-parse-re.el: New file, extracted from lex.el., Stefan Monnier, 2020/12/01
- [elpa] externals/lex cd89324 6/7: * packages/gnome-c-style/gnome-c-tests.el: Add copyright blurb,
Stefan Monnier <=
- [elpa] externals/lex a25aef6 7/7: * .gitignore: New file, Stefan Monnier, 2020/12/01