X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/10b959e3729a77b95ab15614d1bdce74da327d8b..60a67569bf1bbcbc4d38c86ec30bb69613ecee92:/include/wx/expr.h?ds=inline diff --git a/include/wx/expr.h b/include/wx/expr.h index d19d8580b1..4555550dce 100644 --- a/include/wx/expr.h +++ b/include/wx/expr.h @@ -1,4 +1,4 @@ -///////////////////////////////////////////////////////////////////////////// +/* ////////////////////////////////////////////////////////////////////////// // Name: expr.h // Purpose: C helper defines and functions for wxExpr class // Author: Julian Smart @@ -7,10 +7,10 @@ // RCS-ID: $Id$ // Copyright: (c) // Licence: wxWindows licence -///////////////////////////////////////////////////////////////////////////// +////////////////////////////////////////////////////////////////////////// */ -#ifndef __EXPRH__ -#define __EXPRH__ +#ifndef _WX_EXPRH__ +#define _WX_EXPRH__ #include #include @@ -29,9 +29,6 @@ #define yyoutput PROIO_yyoutput #define yylex PROIO_yylex #define yyerror PROIO_yyerror -#define input PROIO_input -#define unput PROIO_unput - #define yyleng PROIO_yyleng #define yytext PROIO_yytext #define yymorfg PROIO_yymorfg @@ -88,36 +85,37 @@ #ifdef __cplusplus extern "C" { char *proio_cons(char *, char *); -char * make_integer(char *); -char * make_word(char *); -char * make_string(char *); -char * make_real(char *, char *); -char * make_exp(char *, char *); -char * make_exp2(char *, char *, char*); +char * wxmake_integer(char *); +char * wxmake_word(char *); +char * wxmake_string(char *); +char * wxmake_real(char *, char *); +char * wxmake_exp(char *, char *); +char * wxmake_exp2(char *, char *, char*); void add_expr(char *); void process_command(char *); void syntax_error(char *); } #else -#if __BORLANDC__ +#if defined(__BORLANDC__) || defined(__VISAGECPP__) char *proio_cons(char *, char *); -char * make_integer(char *); -char * make_word(char *); -char * make_string(char *); -char * make_real(char *, char *); -char * make_exp(char *, char *); -char * make_exp2(char *, char *, char*); +char * wxmake_integer(char *); +char * wxmake_word(char *); +char * wxmake_string(char *); +char * wxmake_real(char *, char *); +char * wxmake_exp(char *, char *); +char * wxmake_exp2(char *, char *, char*); void add_expr(char *); void process_command(char *); void syntax_error(char *); +int lex_input(void); #else char *proio_cons(); -char * make_integer(); -char * make_word(); -char * make_string(); -char * make_real(); -char * make_exp(); -char * make_exp2(); +char * wxmake_integer(); +char * wxmake_word(); +char * wxmake_string(); +char * wxmake_real(); +char * wxmake_exp(); +char * wxmake_exp2(); void add_expr(); void process_command(); @@ -126,4 +124,4 @@ void syntax_error(); #endif #endif - // __EXPRH__ + /* _WX_EXPRH__ */