Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package alex for openSUSE:Factory checked in 
at 2023-04-20 15:14:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/alex (Old)
 and      /work/SRC/openSUSE:Factory/.alex.new.2023 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "alex"

Thu Apr 20 15:14:16 2023 rev:32 rq:1080319 version:3.2.7.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/alex/alex.changes        2023-04-07 
18:16:41.952674311 +0200
+++ /work/SRC/openSUSE:Factory/.alex.new.2023/alex.changes      2023-04-20 
15:15:16.978191201 +0200
@@ -1,0 +2,12 @@
+Fri Apr 14 05:54:54 UTC 2023 - Peter Simons <psim...@suse.com>
+
+- Update alex to version 3.2.7.3.
+  ## Change in 3.2.7.3
+
+   * Amend last change (3.2.7.2)
+     so that Alex-generated code does not need `LANGUAGE PatternGuards`.
+   * Tested with GHC 7.0 - 9.6.1.
+
+  _Andreas Abel, 2023-04-14_
+
+-------------------------------------------------------------------

Old:
----
  alex-3.2.7.2.tar.gz

New:
----
  alex-3.2.7.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ alex.spec ++++++
--- /var/tmp/diff_new_pack.hy38Xd/_old  2023-04-20 15:15:17.450194404 +0200
+++ /var/tmp/diff_new_pack.hy38Xd/_new  2023-04-20 15:15:17.458194458 +0200
@@ -18,7 +18,7 @@
 
 %bcond_without tests
 Name:           alex
-Version:        3.2.7.2
+Version:        3.2.7.3
 Release:        0
 Summary:        Alex is a tool for generating lexical analysers in Haskell
 License:        BSD-3-Clause

++++++ alex-3.2.7.2.tar.gz -> alex-3.2.7.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alex-3.2.7.2/CHANGELOG.md 
new/alex-3.2.7.3/CHANGELOG.md
--- old/alex-3.2.7.2/CHANGELOG.md       2001-09-09 03:46:40.000000000 +0200
+++ new/alex-3.2.7.3/CHANGELOG.md       2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,11 @@
+## Change in 3.2.7.3
+
+ * Amend last change (3.2.7.2)
+   so that Alex-generated code does not need `LANGUAGE PatternGuards`.
+ * Tested with GHC 7.0 - 9.6.1.
+
+_Andreas Abel, 2023-04-14_
+
 ## Change in 3.2.7.2
 
  * Fix bug with out-of-bound access to `alex_check` array.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alex-3.2.7.2/alex.cabal new/alex-3.2.7.3/alex.cabal
--- old/alex-3.2.7.2/alex.cabal 2001-09-09 03:46:40.000000000 +0200
+++ new/alex-3.2.7.3/alex.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
 cabal-version: >= 1.10
 name: alex
-version: 3.2.7.2
+version: 3.2.7.3
 -- don't forget updating changelog.md!
 license: BSD3
 license-file: LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/alex-3.2.7.2/data/AlexTemplate.hs 
new/alex-3.2.7.3/data/AlexTemplate.hs
--- old/alex-3.2.7.2/data/AlexTemplate.hs       2001-09-09 03:46:40.000000000 
+0200
+++ new/alex-3.2.7.3/data/AlexTemplate.hs       2001-09-09 03:46:40.000000000 
+0200
@@ -162,14 +162,11 @@
                 base   = alexIndexInt32OffAddr alex_base s
                 offset = PLUS(base,ord_c)
 
-                new_s
-                  | GTE(offset,ILIT(0))
-                  , check <- alexIndexInt16OffAddr alex_check offset
-                  , EQ(check,ord_c)
-                  = alexIndexInt16OffAddr alex_table offset
-
-                  | otherwise
-                  = alexIndexInt16OffAddr alex_deflt s
+                new_s = if GTE(offset,ILIT(0))
+                          && let check  = alexIndexInt16OffAddr alex_check 
offset
+                             in  EQ(check,ord_c)
+                          then alexIndexInt16OffAddr alex_table offset
+                          else alexIndexInt16OffAddr alex_deflt s
         in
         case new_s of
             ILIT(-1) -> (new_acc, input__)

Reply via email to