00001 /* 00002 ********************************************************************** 00003 * Copyright (C) 1999-2005, International Business Machines 00004 * Corporation and others. All Rights Reserved. 00005 ********************************************************************** 00006 * Date Name Description 00007 * 03/14/00 aliu Creation. 00008 * 06/27/00 aliu Change from C++ class to C struct 00009 ********************************************************************** 00010 */ 00011 #ifndef PARSEERR_H 00012 #define PARSEERR_H 00013 00014 #include "unicode/utypes.h" 00015 00016 00025 enum { U_PARSE_CONTEXT_LEN = 16 }; 00026 00056 typedef struct UParseError { 00057 00065 int32_t line; 00066 00074 int32_t offset; 00075 00081 UChar preContext[U_PARSE_CONTEXT_LEN]; 00082 00088 UChar postContext[U_PARSE_CONTEXT_LEN]; 00089 00090 } UParseError; 00091 00092 #endif