ICU 73.2  73.2
parseerr.h
Go to the documentation of this file.
00001 // © 2016 and later: Unicode, Inc. and others.
00002 // License & terms of use: http://www.unicode.org/copyright.html
00003 /*
00004 **********************************************************************
00005 *   Copyright (C) 1999-2005, International Business Machines
00006 *   Corporation and others.  All Rights Reserved.
00007 **********************************************************************
00008 *   Date        Name        Description
00009 *   03/14/00    aliu        Creation.
00010 *   06/27/00    aliu        Change from C++ class to C struct
00011 **********************************************************************
00012 */
00013 #ifndef PARSEERR_H
00014 #define PARSEERR_H
00015 
00016 #include "unicode/utypes.h"
00017 
00018 
00027 enum { U_PARSE_CONTEXT_LEN = 16 };
00028 
00058 typedef struct UParseError {
00059 
00067     int32_t        line;
00068 
00076     int32_t        offset;
00077 
00083     UChar          preContext[U_PARSE_CONTEXT_LEN];
00084 
00090     UChar          postContext[U_PARSE_CONTEXT_LEN];
00091 
00092 } UParseError;
00093 
00094 #endif