From: Vern Paxson Date: Wed, 25 Aug 1993 17:11:42 +0000 (+0000) Subject: Added C_plus_plus flag. X-Git-Tag: flex-2-5-5b~411 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d2bf08fb3fbaf1b52696f05e494138419515c020;p=flex Added C_plus_plus flag. --- diff --git a/flexdef.h b/flexdef.h index 859d0ce..17b742c 100644 --- 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