Mercurial > octave-dspies
comparison libinterp/parse-tree/lex.ll @ 16150:891a2a4df71f
* lex.ll: Use C-style comments in preamble.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 27 Feb 2013 18:52:46 -0500 |
parents | 49dfba4fd3c5 |
children | aa5e1e8dce66 |
comparison
equal
deleted
inserted
replaced
16149:49dfba4fd3c5 | 16150:891a2a4df71f |
---|---|
18 along with Octave; see the file COPYING. If not, see | 18 along with Octave; see the file COPYING. If not, see |
19 <http://www.gnu.org/licenses/>. | 19 <http://www.gnu.org/licenses/>. |
20 | 20 |
21 */ | 21 */ |
22 | 22 |
23 // We are using the pure parser interface and the reentrant lexer | 23 /* |
24 // interface but the Octave parser and lexer are NOT properly | 24 We are using the pure parser interface and the reentrant lexer |
25 // reentrant because both still use many global variables. It should be | 25 interface but the Octave parser and lexer are NOT properly |
26 // safe to create a parser object and call it while anotehr parser | 26 reentrant because both still use many global variables. It should be |
27 // object is active (to parse a callback function while the main | 27 safe to create a parser object and call it while anotehr parser |
28 // interactive parser is waiting for input, for example) if you take | 28 object is active (to parse a callback function while the main |
29 // care to properly save and restore (typically with an unwind_protect | 29 interactive parser is waiting for input, for example) if you take |
30 // object) relevant global values before and after the nested call. | 30 care to properly save and restore (typically with an unwind_protect |
31 object) relevant global values before and after the nested call. | |
32 */ | |
31 | 33 |
32 %option prefix = "octave_" | 34 %option prefix = "octave_" |
33 %option noyywrap | 35 %option noyywrap |
34 %option reentrant | 36 %option reentrant |
35 %option bison-bridge | 37 %option bison-bridge |