Genivia / RE-flex

A high-performance C++ regex library and lexical analyzer generator with Unicode support. Extends Flex++ with Unicode support, indent/dedent anchors, lazy quantifiers, functions for lex and syntax error reporting and more. Seamlessly integrates with Bison and other parsers.
https://www.genivia.com/doc/reflex/html
BSD 3-Clause "New" or "Revised" License
520 stars 85 forks source link

Redefinition of Lexer class. #162

Closed SouravKB closed 1 year ago

SouravKB commented 1 year ago

Generated code contains Lexer definition twice. Once in outfile and once in header-file.

genivia-inc commented 1 year ago

The header should be included in the main application and the outfile must be compiled separately and then linked. It's the same approach taken by Flex C++.