]> granicus.if.org Git - flex/commitdiff
Added C_plus_plus flag.
authorVern Paxson <vern@ee.lbl.gov>
Wed, 25 Aug 1993 17:11:42 +0000 (17:11 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Wed, 25 Aug 1993 17:11:42 +0000 (17:11 +0000)
flexdef.h

index 859d0ce77967a5c57201af2c9c656ddb95d1efb0..17b742c315a6a92ac034cfc4bcbccc4752347107 100644 (file)
--- a/flexdef.h
+++ b/flexdef.h
@@ -322,6 +322,8 @@ extern struct hash_entry *ccltab[CCL_HASH_SIZE];
  *   problems, too
  * backing_up_report - if true (i.e., -b flag), generate "lex.backup" file
  *   listing backing-up states
+ * C_plus_plus - if true (i.e., -+ flag), generate a C++ scanner class;
+ *   otherwise, a standard C scanner
  * yytext_is_array - if true (i.e., %array directive), then declare
  *   yytext as a array instead of a character pointer.  Nice and inefficient.
  * csize - size of character set for the scanner we're generating;
@@ -340,7 +342,7 @@ extern struct hash_entry *ccltab[CCL_HASH_SIZE];
 extern int printstats, syntaxerror, eofseen, ddebug, trace, nowarn, spprdflt;
 extern int interactive, caseins, useecs, fulltbl, usemecs;
 extern int fullspd, gen_line_dirs, performance_report, backing_up_report;
-extern int yytext_is_array, csize;
+extern int C_plus_plus, yytext_is_array, csize;
 extern int yymore_used, reject, real_reject, continued_action;
 
 #define REALLY_NOT_DETERMINED 0