annotate dmd/json.h @ 1650:40bd4a0d4870

Update to work with LLVM 2.7. Removed use of dyn_cast, llvm no compiles without exceptions and rtti by default. We do need exceptions for the libconfig stuff, but rtti isn't necessary (anymore). Debug info needs to be rewritten, as in LLVM 2.7 the format has completely changed. To have something to look at while rewriting, the old code has been wrapped inside #ifndef DISABLE_DEBUG_INFO , this means that you have to define this to compile at the moment. Updated tango 0.99.9 patch to include updated EH runtime code, which is needed for LLVM 2.7 as well.
author Tomas Lindquist Olsen
date Wed, 19 May 2010 12:42:32 +0200
parents 9f7151d890ff
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1594
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
1
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
2
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
3 // Compiler implementation of the D programming language
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
4 // Copyright (c) 1999-2008 by Digital Mars
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
5 // All Rights Reserved
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
6 // written by Walter Bright
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
7 // http://www.digitalmars.com
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
8 // License for redistribution is by either the Artistic License
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
9 // in artistic.txt, or the GNU General Public License in gnu.txt.
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
10 // See the included readme.txt for details.
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
11
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
12 #ifndef DMD_JSON_H
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
13 #define DMD_JSON_H
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
14
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
15 #ifdef __DMC__
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
16 #pragma once
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
17 #endif /* __DMC__ */
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
18
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
19 struct Array;
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
20
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
21 void json_generate(Array *);
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
22
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
23 #endif /* DMD_JSON_H */
9f7151d890ff Added in forgotten json.c and json.h files so ldc compiles again.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff changeset
24