--- parser3/src/include/pa_common.h 2001/10/08 09:04:08 1.52 +++ parser3/src/include/pa_common.h 2001/10/24 16:33:02 1.55 @@ -4,7 +4,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_common.h,v 1.52 2001/10/08 09:04:08 parser Exp $ + $Id: pa_common.h,v 1.55 2001/10/24 16:33:02 parser Exp $ */ #ifndef PA_COMMON_H @@ -68,6 +68,11 @@ int __snprintf(char *, size_t, const cha #endif +/** under WIN32 "t" mode fixes DOS chars OK, + can't say that about other systems/ line break styles +*/ +void fix_line_breaks(char *src, size_t& size); + /** read specified text file using pool, if fail_on_read_problem is true[default] throws an exception @@ -138,7 +143,7 @@ inline int min(int a,int b){ return a @@ -159,7 +164,6 @@ void back_slashes_to_slashes(char *s); #endif bool StrEqNc(const char *s1, const char *s2, bool strict=true); -char *unquote(char*& current, char stop_at); #define SECS_PER_DAY (60*60*24) int getMonthDays(int year, int month);