00001 /* 00002 ********************************************************************** 00003 * Copyright (C) 1999-2004, 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 00021 enum { U_PARSE_CONTEXT_LEN = 16 }; 00022 00052 typedef struct UParseError { 00053 00061 int32_t line; 00062 00070 int32_t offset; 00071 00077 UChar preContext[U_PARSE_CONTEXT_LEN]; 00078 00084 UChar postContext[U_PARSE_CONTEXT_LEN]; 00085 00086 } UParseError; 00087 00088 #endif