00001 /* 00002 ********************************************************************** 00003 * Copyright (C) 1999-2000, 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 00020 enum { U_PARSE_CONTEXT_LEN = 16 }; 00021 00037 typedef struct _UParseError { 00038 00050 int32_t code; 00051 00057 int32_t line; 00058 00065 UTextOffset offset; 00066 00071 UChar preContext[U_PARSE_CONTEXT_LEN]; 00072 00077 UChar postContext[U_PARSE_CONTEXT_LEN]; 00078 00079 } UParseError; 00080 00081 #endif