unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 737c0eb8c1ddeb95f739fbff3c12cd5e542c2427 791 bytes (raw)
name: packages/patches/shakespeare-spl-fix-grammar.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
ROMAN_HUNDREDS, ROMAN_TENS and ROMAN_ONES seem to use syntax, that is not
recognized (any longer?) by flex, so let's expand their definitions.

Index: spl-1.2.1/include/roman_numbers.metaflex
===================================================================
--- spl-1.2.1.orig/include/roman_numbers.metaflex
+++ spl-1.2.1/include/roman_numbers.metaflex
@@ -1,5 +1,5 @@
 ROMAN_THOUSANDS m+
-ROMAN_HUNDREDS  (c(d|m)|dc{0,3}|c{1,3})
-ROMAN_TENS      (x(l|c)|lx{0,3}|x{1,3})
-ROMAN_ONES      (i(v|x)|vi{0,3}|i{1,3})
+ROMAN_HUNDREDS  (c(d|m|c?c?)|dc?c?c?)
+ROMAN_TENS      (x(l|c|x?x?)|lx?x?x?)
+ROMAN_ONES      (i(v|x|i?i?)|vi?i?i?)
 ROMAN_NUMBER    {ROMAN_ONES}|{ROMAN_TENS}{ROMAN_ONES}?|{ROMAN_HUNDREDS}{ROMAN_TENS}?{ROMAN_ONES}?|{ROMAN_THOUSANDS}{ROMAN_HUNDREDS}?{ROMAN_TENS}?{ROMAN_ONES}?

debug log:

solving 737c0eb8c1ddeb95f739fbff3c12cd5e542c2427 ...
found 737c0eb8c1ddeb95f739fbff3c12cd5e542c2427 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).