aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ispell/files/NO.patch
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ispell/files/NO.patch')
-rw-r--r--textproc/ispell/files/NO.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/textproc/ispell/files/NO.patch b/textproc/ispell/files/NO.patch
new file mode 100644
index 000000000000..841a55bd1b39
--- /dev/null
+++ b/textproc/ispell/files/NO.patch
@@ -0,0 +1,36 @@
+*** inorsk/parse.y.org Sun Feb 6 19:41:49 2000
+--- inorsk/parse.y Sun Feb 6 19:42:58 2000
+***************
+*** 870,876 ****
+ flagbit = toupper (flagbit);
+ #endif /* MASKBITS */
+ #if MASKBITS <= 64
+! if (!isalpha (flagbit))
+ yyerror (PARSE_Y_BAD_FLAG);
+ #endif /* MASKBITS */
+ flagbit = CHARTOBIT (flagbit);
+--- 870,876 ----
+ flagbit = toupper (flagbit);
+ #endif /* MASKBITS */
+ #if MASKBITS <= 64
+! if (flagbit < 'A' || flagbit > 'z')
+ yyerror (PARSE_Y_BAD_FLAG);
+ #endif /* MASKBITS */
+ flagbit = CHARTOBIT (flagbit);
+***************
+*** 902,908 ****
+ flagbit = toupper (flagbit);
+ #endif /* MASKBITS */
+ #if MASKBITS <= 64
+! if (!isalpha (flagbit))
+ yyerror (PARSE_Y_BAD_FLAG);
+ #endif /* MASKBITS */
+ flagbit = CHARTOBIT (flagbit);
+--- 902,908 ----
+ flagbit = toupper (flagbit);
+ #endif /* MASKBITS */
+ #if MASKBITS <= 64
+! if (flagbit < 'A' || flagbit > 'z')
+ yyerror (PARSE_Y_BAD_FLAG);
+ #endif /* MASKBITS */
+ flagbit = CHARTOBIT (flagbit);