Mercurial > jwe > qt-gui-with-push-parser
annotate parse.h @ 2:b97ffa8e4019
multiple inclusion guards in .h files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 22 May 2019 16:20:52 -0400 |
parents | 08df60a01bc1 |
children |
rev | line source |
---|---|
2
b97ffa8e4019
multiple inclusion guards in .h files
John W. Eaton <jwe@octave.org>
parents:
1
diff
changeset
|
1 #if ! defined (calc_parse_h) |
b97ffa8e4019
multiple inclusion guards in .h files
John W. Eaton <jwe@octave.org>
parents:
1
diff
changeset
|
2 #define calc_parse_h 1 |
b97ffa8e4019
multiple inclusion guards in .h files
John W. Eaton <jwe@octave.org>
parents:
1
diff
changeset
|
3 |
0 | 4 namespace interpreter |
5 { | |
6 extern bool beg_of_stmt; | |
7 | |
8 extern void parser_init (void); | |
9 extern void parser_fini (void); | |
10 | |
11 extern int parse_and_execute (const std::string& line); | |
12 | |
1
08df60a01bc1
debug flag, handle input with signal
John W. Eaton <jwe@octave.org>
parents:
0
diff
changeset
|
13 extern void emit_error (const char *msg); |
08df60a01bc1
debug flag, handle input with signal
John W. Eaton <jwe@octave.org>
parents:
0
diff
changeset
|
14 |
0 | 15 extern void emit_result (double value); |
16 } | |
2
b97ffa8e4019
multiple inclusion guards in .h files
John W. Eaton <jwe@octave.org>
parents:
1
diff
changeset
|
17 |
b97ffa8e4019
multiple inclusion guards in .h files
John W. Eaton <jwe@octave.org>
parents:
1
diff
changeset
|
18 #endif |