summaryrefslogtreecommitdiffstats
path: root/src/util/et
diff options
context:
space:
mode:
authorMarc Horowitz <marc@mit.edu>1996-07-22 20:49:46 +0000
committerMarc Horowitz <marc@mit.edu>1996-07-22 20:49:46 +0000
commitedf8b4d8a6a665c2aa150993cd813ea6c5cf12e1 (patch)
tree6c2974a97b448c040fa4a31708ec5e02f187526c /src/util/et
parent013bb1391582ed9e653ae706e398ddb8d08cfcc9 (diff)
downloadkrb5-edf8b4d8a6a665c2aa150993cd813ea6c5cf12e1.tar.gz
krb5-edf8b4d8a6a665c2aa150993cd813ea6c5cf12e1.tar.xz
krb5-edf8b4d8a6a665c2aa150993cd813ea6c5cf12e1.zip
this commit includes all the changes on the OV_9510_INTEGRATION and
OV_MERGE branches. This includes, but is not limited to, the new openvision admin system, and major changes to gssapi to add functionality, and bring the implementation in line with rfc1964. before committing, the code was built and tested for netbsd and solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8774 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/et')
-rw-r--r--src/util/et/ChangeLog4
-rw-r--r--src/util/et/et_c.awk31
2 files changed, 34 insertions, 1 deletions
diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog
index 34cc96338..233b5b9d7 100644
--- a/src/util/et/ChangeLog
+++ b/src/util/et/ChangeLog
@@ -14,6 +14,10 @@ Mon Jun 10 21:54:09 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
* vfprintf.c, internal.h, compile_et.c, et_c.awk, com_err.c:
Change _WINDOWS to _MSDOS, and add check for _WIN32.
+Sun May 12 01:13:02 1996 Marc Horowitz <marc@mit.edu>
+
+ * et_c.awk: deal with continuations in the input .et file.
+
Wed Mar 20 00:19:08 1996 Theodore Y. Ts'o <tytso@dcl>
* Makefile.in (SRCS): Fix SRCS definition so that it doesn't fool
diff --git a/src/util/et/et_c.awk b/src/util/et/et_c.awk
index 8067e7190..ac1321cd0 100644
--- a/src/util/et/et_c.awk
+++ b/src/util/et/et_c.awk
@@ -120,7 +120,18 @@ c2n["_"]=63
table_item_count = 0
}
+(continuation == 1) && ($0 ~ /\\[ \t]*$/) {
+ text=substr($0,1,length($0)-1);
+ printf "\t\t\"%s\"\n", text > outfile
+}
+
+(continuation == 1) && ($0 ~ /"[ \t]*$/) {
+ printf "\t\t\"%s,\n", $0 > outfile
+ continuation = 0;
+}
+
/^[ \t]*(error_code|ec)[ \t]+[A-Z_0-9]+,[ \t]*$/ {
+ table_item_count++
skipone=1
next
}
@@ -135,10 +146,28 @@ c2n["_"]=63
table_item_count++
}
+/^[ \t]*(error_code|ec)[ \t]+[A-Z_0-9]+,[ \t]*".*\\[ \t]*$/ {
+ text=""
+ for (i=3; i<=NF; i++) {
+ text = text FS $i
+ }
+ text=substr(text,2,length(text)-2);
+ printf "\t%s\"\n", text > outfile
+ continuation++;
+}
+
+/^[ \t]*".*\\[ \t]*$/ {
+ if (skipone) {
+ text=substr($0,1,length($0)-1);
+ printf "\t%s\"\n", text > outfile
+ continuation++;
+ }
+ skipone=0
+}
+
{
if (skipone) {
printf "\t%s,\n", $0 > outfile
- table_item_count++
}
skipone=0
}