summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/asn1/lex.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-07-06 13:26:09 +0200
committerStefan Metzmacher <metze@samba.org>2009-07-06 13:28:11 +0200
commit5d4d9d333d2bac8ec8ae882cdfd19e1d79c898b4 (patch)
tree8666e02e11c29f7f577e5e67cf1ced1bfc54940f /source4/heimdal/lib/asn1/lex.c
parent91e020fca1b1428d994e742e97c5c73d4bf88458 (diff)
downloadsamba-5d4d9d333d2bac8ec8ae882cdfd19e1d79c898b4.tar.gz
samba-5d4d9d333d2bac8ec8ae882cdfd19e1d79c898b4.tar.bz2
samba-5d4d9d333d2bac8ec8ae882cdfd19e1d79c898b4.zip
s4:heimdal: readd heimdal/lib/asn1/asn1parse.y which was parse.y before the last import
Also commit the regenerated files for systems without yacc and lex. This fixes the build with automatic dependecies for me. metze
Diffstat (limited to 'source4/heimdal/lib/asn1/lex.c')
-rw-r--r--source4/heimdal/lib/asn1/lex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/heimdal/lib/asn1/lex.c b/source4/heimdal/lib/asn1/lex.c
index 5eaa156f7b..9fe039240d 100644
--- a/source4/heimdal/lib/asn1/lex.c
+++ b/source4/heimdal/lib/asn1/lex.c
@@ -844,7 +844,7 @@ char *yytext;
#endif
#undef ECHO
#include "symbol.h"
-#include "parse.h"
+#include "asn1parse.h"
#include "lex.h"
#include "gen_locl.h"
@@ -1590,7 +1590,7 @@ YY_RULE_SETUP
char *p = buf;
int f = 0;
int skip_ws = 0;
-
+
while((c = input()) != EOF) {
if(isspace(c) && skip_ws) {
if(c == '\n')
@@ -1598,7 +1598,7 @@ YY_RULE_SETUP
continue;
}
skip_ws = 0;
-
+
if(c == '"') {
if(f) {
*p++ = '"';