aboutsummaryrefslogtreecommitdiffstats
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/re.c b/re.c
index 497f7214..995fbb99 100644
--- a/re.c
+++ b/re.c
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 1991-1995 the Free Software Foundation, Inc.
+ * Copyright (C) 1991-1996 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
@@ -87,6 +87,11 @@ int dfa;
*dest++ = '\\';
*dest++ = (char) c2;
break;
+ case '8':
+ case '9': /* a\9b not valid */
+ *dest++ = c;
+ src++;
+ break;
case 'y': /* normally \b */
/* gnu regex op */
if (! do_traditional) {
@@ -267,7 +272,7 @@ resetup()
dfasyntax(syn, FALSE);
}
-/* avoid_dfa --- temporary kludge function until we have a new dfa.c */
+/* avoid_dfa --- FIXME: temporary kludge function until we have a new dfa.c */
int
avoid_dfa(re, str, len)