]> git.saurik.com Git - wxWidgets.git/blame - include/wx/expr.h
1. warnings suppressed in wave.cpp
[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
10b959e3
JS
32#define yyleng PROIO_yyleng
33#define yytext PROIO_yytext
34#define yymorfg PROIO_yymorfg
35#define yylineno PROIO_yylineno
36#define yytchar PROIO_yytchar
37#define yyin PROIO_yyin
38#define yyout PROIO_yyout
39#define yysvf PROIO_yysvf
40#define yyestate PROIO_yyestate
41#define yysvec PROIO_yysvec
42#define yybgin PROIO_yybgin
43#define yyprevious PROIO_yyprevious
44#define yylhs PROIO_yylhs
45#define yylen PROIO_yylen
46#define yydefred PROIO_yydefred
47#define yydgoto PROIO_yydgoto
48#define yysindex PROIO_yysindex
49#define yyrindex PROIO_yyrindex
50#define yygindex PROIO_yygindex
51#define yytable PROIO_yytable
52#define yycheck PROIO_yycheck
53#define yyname PROIO_yyname
54#define yyrule PROIO_yyrule
55#define yydebug PROIO_yydebug
56#define yynerrs PROIO_yynerrs
57#define yyerrflag PROIO_yyerrflag
58#define yychar PROIO_yychar
59#define yyvsp PROIO_yyvsp
60#define yyssp PROIO_yyssp
61#define yyval PROIO_yyval
62#define yylval PROIO_yylval
63#define yyss PROIO_yyss
64#define yyvs PROIO_yyvs
65#define yyparse PROIO_yyparse
66
67/* +++steve162e: more defines necessary */
68#define yy_init_buffer PROIO_yy_init_buffer
69#define yy_create_buffer PROIO_yy_create_buffer
70#define yy_load_buffer_state PROIO_yy_load_buffer_state
71#define yyrestart PROIO_yyrestart
72#define yy_switch_to_buffer PROIO_yy_switch_to_buffer
73#define yy_delete_buffer PROIO_yy_delete_buffer
74/* ---steve162e */
75
76/* WG 1/96: still more for flex 2.5 */
77#define yy_scan_buffer PROIO_scan_buffer
78#define yy_scan_string PROIO_scan_string
79#define yy_scan_bytes PROIO_scan_bytes
80#define yy_flex_debug PROIO_flex_debug
81#define yy_flush_buffer PROIO_flush_buffer
82#define yyleng PROIO_yyleng
83#define yytext PROIO_yytext
84
85#ifdef __cplusplus
86extern "C" {
87char *proio_cons(char *, char *);
5b077d48
RR
88char * wxmake_integer(char *);
89char * wxmake_word(char *);
90char * wxmake_string(char *);
91char * wxmake_real(char *, char *);
92char * wxmake_exp(char *, char *);
93char * wxmake_exp2(char *, char *, char*);
10b959e3
JS
94void add_expr(char *);
95void process_command(char *);
96void syntax_error(char *);
97}
98#else
99#if __BORLANDC__
100char *proio_cons(char *, char *);
5b077d48
RR
101char * wxmake_integer(char *);
102char * wxmake_word(char *);
103char * wxmake_string(char *);
104char * wxmake_real(char *, char *);
105char * wxmake_exp(char *, char *);
106char * wxmake_exp2(char *, char *, char*);
10b959e3
JS
107void add_expr(char *);
108void process_command(char *);
109void syntax_error(char *);
110#else
111char *proio_cons();
5b077d48
RR
112char * wxmake_integer();
113char * wxmake_word();
114char * wxmake_string();
115char * wxmake_real();
116char * wxmake_exp();
117char * wxmake_exp2();
10b959e3
JS
118
119void add_expr();
120void process_command();
121void syntax_error();
122#endif
123#endif
124
125#endif
c67daf87 126 /* _WX_EXPRH__ */