Commit Graph

27 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
9eebea050b unput() have to hanppen in actions for flex 2.5.31, can do them in
user code sesction, so move up handle_comment and handle_string into
action, not much sharing was done anyway.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16054 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 18:17:16 +00:00
Love Hörnquist Åstrand
b838707d0e Commit much improved ASN.1 compiler from joda-choice-branch.
Highlighs for the compiler is support for CHOICE and in general better
support for tags. This compiler support most of what is needed for
PK-INIT, LDAP, X.509, PKCS-12 and many other protocols.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 06:27:42 +00:00
Love Hörnquist Åstrand
ee007305f2 use get_filename
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15438 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 19:58:35 +00:00
Love Hörnquist Åstrand
54bf17b263 support hex numbers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 17:40:21 +00:00
Johan Danielsson
2510c2ae80 add support for /* */ and partial line -- comments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13999 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-27 14:26:14 +00:00
Love Hörnquist Åstrand
322b4a8a3e added dummy parsing of CHOICE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 12:42:55 +00:00
Love Hörnquist Åstrand
2b0cf9b3eb add BOOLEAN
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 23:49:41 +00:00
Love Hörnquist Åstrand
bd85856ef6 -= add parser/generate glue for UTF8String and NULL
(DER primitive encode/decode functions missing)
- handle parsing of DEFAULT and, ...


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-20 18:42:10 +00:00
Assar Westerlund
a2f8a50aea remove some warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10743 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-25 23:28:03 +00:00
Assar Westerlund
2bcae56ac3 add ENUMERATED and OBJECT IDENTIFIER
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-25 13:39:27 +00:00
Johan Danielsson
bd56008084 add another undef ECHO to keep AIX lex happy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-05 09:09:45 +00:00
Johan Danielsson
be966dd6e2 use strtol to parse constants
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-18 13:08:47 +00:00
Assar Westerlund
ef9131390a remove roken.h, now in lex.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-02 04:08:02 +00:00
Assar Westerlund
46828984cc fix includes, and lex stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8446 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-21 22:41:45 +00:00
Johan Danielsson
6963cfa860 add support for more standards like import statements
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-19 15:17:22 +00:00
Assar Westerlund
149c240f4f count lines correctly.
(error_message): print filename in messages


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-09 09:20:22 +00:00
Assar Westerlund
4c1b22cc34 (DOTDOT): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-06 17:26:00 +00:00
Johan Danielsson
c5b916ca6f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Assar Westerlund
662fdcd1c1 add <unistd.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5357 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-13 17:25:47 +00:00
Assar Westerlund
9894665a1e (filename): unused. remove.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5345 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-13 16:13:24 +00:00
Johan Danielsson
ba1616dac0 Fix for AIX lex.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2931 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-11 23:42:49 +00:00
Johan Danielsson
2e28cccf55 Recognize EXTERNAL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2479 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-20 00:11:01 +00:00
Johan Danielsson
5a32a5c8e7 Add copyright notice.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2389 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 21:40:05 +00:00
Assar Westerlund
dd5d033bbd don't worry about strdup, it's defined by roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2274 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-14 11:39:17 +00:00
Assar Westerlund
9ca662e7b7 ifdef strdup
brange-dead version of list of special characters to make stupid lex accept it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1228 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-02-11 02:55:21 +00:00
Johan Danielsson
dbdb412ba0 Ugh
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@864 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-20 16:47:54 +00:00
Assar Westerlund
b55aed018f Now uses generated ASN1-code.
kinit should be able to get a initial message from FOO.SE.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@844 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-13 21:13:38 +00:00