--- parser3/src/include/pa_common.h 2001/03/12 21:54:19 1.9 +++ parser3/src/include/pa_common.h 2001/03/13 18:32:46 1.10 @@ -3,7 +3,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_common.h,v 1.9 2001/03/12 21:54:19 paf Exp $ + $Id: pa_common.h,v 1.10 2001/03/13 18:32:46 paf Exp $ */ #ifndef PA_COMMON_H @@ -27,4 +27,10 @@ char *lsplit(char **string_ref,char deli char *rsplit(char *string, char delim); char *format(Pool& pool, double value, char *fmt); +#ifndef max +inline int max(int a,int b) { return a>b?a:b; } +inline int min(int a,int b){ return a