Skip to content

Commit

Permalink
C++ lexer header file is FlexLexer.h not yyFlexLexer.h
Browse files Browse the repository at this point in the history
  • Loading branch information
zmajeed authored and westes committed Nov 2, 2023
1 parent ee2d527 commit c47ca06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/flex.texi
Original file line number Diff line number Diff line change
Expand Up @@ -2649,7 +2649,7 @@ While in the header, the macro @code{yyIN_HEADER} is defined, where @samp{yy}
is substituted with the appropriate prefix.

The @samp{--header-file} option is not compatible with the @samp{--c++} option,
since the C++ scanner provides its own header in @file{yyFlexLexer.h}.
since the C++ scanner provides its own header in @file{FlexLexer.h}.
This option will generally be a no-op under target languages other
than C.

Expand Down

0 comments on commit c47ca06

Please sign in to comment.