comparison dmd2/html.h @ 1452:638d16625da2

LDC 2 compiles again.
author Robert Clipsham <robert@octarineparrot.com>
date Sat, 30 May 2009 17:23:32 +0100
parents f04dde6e882c
children
comparison
equal deleted inserted replaced
1423:42bd767ec5a4 1452:638d16625da2
1 1
2 // Compiler implementation of the D programming language
3 // Copyright (c) 1999-2006 by Digital Mars 2 // Copyright (c) 1999-2006 by Digital Mars
4 // All Rights Reserved 3 // All Rights Reserved
5 // written by Walter Bright 4 // written by Walter Bright
6 // http://www.digitalmars.com 5 // www.digitalmars.com
7 // License for redistribution is by either the Artistic License 6 // License for redistribution is by either the Artistic License
8 // in artistic.txt, or the GNU General Public License in gnu.txt. 7 // in artistic.txt, or the GNU General Public License in gnu.txt.
9 // See the included readme.txt for details. 8 // See the included readme.txt for details.
10 9
11 #ifndef DMD_HTML_H 10 #ifndef DMD_HTML_H
25 int inCode; // !=0 if in code 24 int inCode; // !=0 if in code
26 25
27 26
28 Html(const char *sourcename, unsigned char *base, unsigned length); 27 Html(const char *sourcename, unsigned char *base, unsigned length);
29 28
30 void error(const char *format, ...); 29 void error(const char *format, ...) IS_PRINTF(2);
31 void extractCode(OutBuffer *buf); 30 void extractCode(OutBuffer *buf);
32 void skipTag(); 31 void skipTag();
33 void skipString(); 32 void skipString();
34 unsigned char *skipWhite(unsigned char *q); 33 unsigned char *skipWhite(unsigned char *q);
35 void scanComment(); 34 void scanComment();