# HG changeset patch # User John W. Eaton # Date 1362009166 18000 # Node ID 891a2a4df71fb98a6c8b056d1a51f214a7e4fa94 # Parent 49dfba4fd3c53b0612f57271c3a154a71b6be24a * lex.ll: Use C-style comments in preamble. diff -r 49dfba4fd3c5 -r 891a2a4df71f libinterp/parse-tree/lex.ll --- a/libinterp/parse-tree/lex.ll Wed Feb 27 18:49:16 2013 -0500 +++ b/libinterp/parse-tree/lex.ll Wed Feb 27 18:52:46 2013 -0500 @@ -20,14 +20,16 @@ */ -// We are using the pure parser interface and the reentrant lexer -// interface but the Octave parser and lexer are NOT properly -// reentrant because both still use many global variables. It should be -// safe to create a parser object and call it while anotehr parser -// object is active (to parse a callback function while the main -// interactive parser is waiting for input, for example) if you take -// care to properly save and restore (typically with an unwind_protect -// object) relevant global values before and after the nested call. +/* +We are using the pure parser interface and the reentrant lexer +interface but the Octave parser and lexer are NOT properly +reentrant because both still use many global variables. It should be +safe to create a parser object and call it while anotehr parser +object is active (to parse a callback function while the main +interactive parser is waiting for input, for example) if you take +care to properly save and restore (typically with an unwind_protect +object) relevant global values before and after the nested call. +*/ %option prefix = "octave_" %option noyywrap