diff options
Diffstat (limited to 'lang/spl/files')
-rw-r--r-- | lang/spl/files/patch-include_roman__numbers.metaflex | 14 | ||||
-rw-r--r-- | lang/spl/files/patch-libspl.c | 10 | ||||
-rw-r--r-- | lang/spl/files/patch-spl.h | 26 |
3 files changed, 0 insertions, 50 deletions
diff --git a/lang/spl/files/patch-include_roman__numbers.metaflex b/lang/spl/files/patch-include_roman__numbers.metaflex deleted file mode 100644 index 33b690879e23..000000000000 --- a/lang/spl/files/patch-include_roman__numbers.metaflex +++ /dev/null @@ -1,14 +0,0 @@ -Replaced roman numeral regular expression to address precedence issue - -Issue 1: roman number II interpreted as I -https://bitbucket.org/kcartmell/marlowe/issue/1/ - ---- include/roman_numbers.metaflex.orig 2001-10-18 12:34:31.000000000 +0000 -+++ include/roman_numbers.metaflex -@@ -1,5 +1 @@ --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_NUMBER {ROMAN_ONES}|{ROMAN_TENS}{ROMAN_ONES}?|{ROMAN_HUNDREDS}{ROMAN_TENS}?{ROMAN_ONES}?|{ROMAN_THOUSANDS}{ROMAN_HUNDREDS}?{ROMAN_TENS}?{ROMAN_ONES}? -+ROMAN_NUMBER M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3}) diff --git a/lang/spl/files/patch-libspl.c b/lang/spl/files/patch-libspl.c deleted file mode 100644 index e1519edf96ba..000000000000 --- a/lang/spl/files/patch-libspl.c +++ /dev/null @@ -1,10 +0,0 @@ ---- libspl.c.orig 2021-07-20 09:38:16 UTC -+++ libspl.c -@@ -27,6 +27,7 @@ USA. - #include <stdio.h> - #include <stdlib.h> - -+#define GLOBAL - #include "spl.h" - #include "strutils.h" - diff --git a/lang/spl/files/patch-spl.h b/lang/spl/files/patch-spl.h deleted file mode 100644 index 1ca7fc3b568d..000000000000 --- a/lang/spl/files/patch-spl.h +++ /dev/null @@ -1,26 +0,0 @@ ---- spl.h.orig 2021-07-20 09:35:24 UTC -+++ spl.h -@@ -43,13 +43,17 @@ typedef struct { - - /* global variables */ - --CHARACTER **cast; --CHARACTER *first_person; --CHARACTER *second_person; -+#ifndef GLOBAL -+# define GLOBAL extern -+#endif - --int truth_flag; --int num_on_stage; --int num_cast; -+GLOBAL CHARACTER **cast; -+GLOBAL CHARACTER *first_person; -+GLOBAL CHARACTER *second_person; -+ -+GLOBAL int truth_flag; -+GLOBAL int num_on_stage; -+GLOBAL int num_cast; - - /* function prototypes */ - extern void activate_character(int line, CHARACTER *character); |