annotate parse.h @ 1:08df60a01bc1

debug flag, handle input with signal
author John W. Eaton <jwe@octave.org>
date Mon, 20 May 2019 13:45:58 -0400
parents dff751fb985c
children b97ffa8e4019
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dff751fb985c initial revision
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 namespace interpreter
dff751fb985c initial revision
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 {
dff751fb985c initial revision
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3 extern bool beg_of_stmt;
dff751fb985c initial revision
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4
dff751fb985c initial revision
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 extern void parser_init (void);
dff751fb985c initial revision
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 extern void parser_fini (void);
dff751fb985c initial revision
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7
dff751fb985c initial revision
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 extern int parse_and_execute (const std::string& line);
dff751fb985c initial revision
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9
1
08df60a01bc1 debug flag, handle input with signal
John W. Eaton <jwe@octave.org>
parents: 0
diff changeset
10 extern void emit_error (const char *msg);
08df60a01bc1 debug flag, handle input with signal
John W. Eaton <jwe@octave.org>
parents: 0
diff changeset
11
0
dff751fb985c initial revision
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 extern void emit_result (double value);
dff751fb985c initial revision
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 }