]> git.saurik.com Git - wxWidgets.git/blame - include/wx/expr.h
Attempts to make this wchar_t business compile with Borland C++ 4.52.
[wxWidgets.git] / include / wx / expr.h
CommitLineData
c67daf87 1/* //////////////////////////////////////////////////////////////////////////
10b959e3
JS
2// Name: expr.h
3// Purpose: C helper defines and functions for wxExpr class
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
8// Copyright: (c)
9// Licence: wxWindows licence
c67daf87 10////////////////////////////////////////////////////////////////////////// */
10b959e3 11
34138703
JS
12#ifndef _WX_EXPRH__
13#define _WX_EXPRH__
10b959e3
JS
14
15#include <math.h>
16#include <stdlib.h>
17
18#ifdef ____HPUX__
19#define alloca malloc
20#endif
21
22/* Rename all YACC/LEX stuff or we'll conflict with other
23 * applications
24 */
25
26#define yyback PROIO_yyback
27#define yylook PROIO_yylook
28#define yywrap PROIO_yywrap
29#define yyoutput PROIO_yyoutput
30#define yylex PROIO_yylex
31#define yyerror PROIO_yyerror
32#define input PROIO_input
33#define unput PROIO_unput
34
35#define yyleng PROIO_yyleng
36#define yytext PROIO_yytext
37#define yymorfg PROIO_yymorfg
38#define yylineno PROIO_yylineno
39#define yytchar PROIO_yytchar
40#define yyin PROIO_yyin
41#define yyout PROIO_yyout
42#define yysvf PROIO_yysvf
43#define yyestate PROIO_yyestate
44#define yysvec PROIO_yysvec
45#define yybgin PROIO_yybgin
46#define yyprevious PROIO_yyprevious
47#define yylhs PROIO_yylhs
48#define yylen PROIO_yylen
49#define yydefred PROIO_yydefred
50#define yydgoto PROIO_yydgoto
51#define yysindex PROIO_yysindex
52#define yyrindex PROIO_yyrindex
53#define yygindex PROIO_yygindex
54#define yytable PROIO_yytable
55#define yycheck PROIO_yycheck
56#define yyname PROIO_yyname
57#define yyrule PROIO_yyrule
58#define yydebug PROIO_yydebug
59#define yynerrs PROIO_yynerrs
60#define yyerrflag PROIO_yyerrflag
61#define yychar PROIO_yychar
62#define yyvsp PROIO_yyvsp
63#define yyssp PROIO_yyssp
64#define yyval PROIO_yyval
65#define yylval PROIO_yylval
66#define yyss PROIO_yyss
67#define yyvs PROIO_yyvs
68#define yyparse PROIO_yyparse
69
70/* +++steve162e: more defines necessary */
71#define yy_init_buffer PROIO_yy_init_buffer
72#define yy_create_buffer PROIO_yy_create_buffer
73#define yy_load_buffer_state PROIO_yy_load_buffer_state
74#define yyrestart PROIO_yyrestart
75#define yy_switch_to_buffer PROIO_yy_switch_to_buffer
76#define yy_delete_buffer PROIO_yy_delete_buffer
77/* ---steve162e */
78
79/* WG 1/96: still more for flex 2.5 */
80#define yy_scan_buffer PROIO_scan_buffer
81#define yy_scan_string PROIO_scan_string
82#define yy_scan_bytes PROIO_scan_bytes
83#define yy_flex_debug PROIO_flex_debug
84#define yy_flush_buffer PROIO_flush_buffer
85#define yyleng PROIO_yyleng
86#define yytext PROIO_yytext
87
88#ifdef __cplusplus
89extern "C" {
90char *proio_cons(char *, char *);
5b077d48
RR
91char * wxmake_integer(char *);
92char * wxmake_word(char *);
93char * wxmake_string(char *);
94char * wxmake_real(char *, char *);
95char * wxmake_exp(char *, char *);
96char * wxmake_exp2(char *, char *, char*);
10b959e3
JS
97void add_expr(char *);
98void process_command(char *);
99void syntax_error(char *);
100}
101#else
102#if __BORLANDC__
103char *proio_cons(char *, char *);
5b077d48
RR
104char * wxmake_integer(char *);
105char * wxmake_word(char *);
106char * wxmake_string(char *);
107char * wxmake_real(char *, char *);
108char * wxmake_exp(char *, char *);
109char * wxmake_exp2(char *, char *, char*);
10b959e3
JS
110void add_expr(char *);
111void process_command(char *);
112void syntax_error(char *);
113#else
114char *proio_cons();
5b077d48
RR
115char * wxmake_integer();
116char * wxmake_word();
117char * wxmake_string();
118char * wxmake_real();
119char * wxmake_exp();
120char * wxmake_exp2();
10b959e3
JS
121
122void add_expr();
123void process_command();
124void syntax_error();
125#endif
126#endif
127
128#endif
c67daf87 129 /* _WX_EXPRH__ */