Gui: Rename generated lexer files to match core naming pattern.
So as title says, this renames generated lexerfiles from `SelectionFilter.l` to use the suffix .lex, instead of the `lex.SelectionFilter.c`.
This commit is contained in:
@@ -291,7 +291,7 @@ int SelectionFilterlex();
|
|||||||
# pragma GCC diagnostic push
|
# pragma GCC diagnostic push
|
||||||
# pragma GCC diagnostic ignored "-Wsign-compare"
|
# pragma GCC diagnostic ignored "-Wsign-compare"
|
||||||
#endif
|
#endif
|
||||||
#include "lex.SelectionFilter.c"
|
#include "SelectionFilter.lex.cpp"
|
||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
# pragma clang diagnostic pop
|
# pragma clang diagnostic pop
|
||||||
#elif defined (__GNUC__)
|
#elif defined (__GNUC__)
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
/* Lexer for the FreeCAD selection filter language */
|
/* Lexer for the FreeCAD selection filter language */
|
||||||
|
|
||||||
/* flex -o lex.SelectionFilter.c SelectionFilter.l */
|
/* flex -o SelectionFilter.lex.cpp SelectionFilter.l */
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|||||||
@@ -18,9 +18,9 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#line 2 "lex.SelectionFilter.c"
|
#line 2 "SelectionFilter.lex.cpp"
|
||||||
|
|
||||||
#line 4 "lex.SelectionFilter.c"
|
#line 4 "SelectionFilter.lex.cpp"
|
||||||
|
|
||||||
#define YY_INT_ALIGNED short int
|
#define YY_INT_ALIGNED short int
|
||||||
|
|
||||||
@@ -528,7 +528,7 @@ char *SelectionFiltertext;
|
|||||||
/* Lexer for the FreeCAD selection filter language */
|
/* Lexer for the FreeCAD selection filter language */
|
||||||
/* Copyright (c) 2010 Jürgen Riegel LGPL */
|
/* Copyright (c) 2010 Jürgen Riegel LGPL */
|
||||||
|
|
||||||
/* flex -o lex.SelectionFilter.c SelectionFilter.l */
|
/* flex -o SelectionFilter.lex.cpp SelectionFilter.l */
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
@@ -543,7 +543,7 @@ char *SelectionFiltertext;
|
|||||||
/* change the name of the scanner class. results in "SelectionFilterFlexLexer" */
|
/* change the name of the scanner class. results in "SelectionFilterFlexLexer" */
|
||||||
/* the manual says "somewhat more optimized" */
|
/* the manual says "somewhat more optimized" */
|
||||||
/* no support for include files is planned */
|
/* no support for include files is planned */
|
||||||
#line 527 "lex.SelectionFilter.c"
|
#line 527 "SelectionFilter.lex.cpp"
|
||||||
|
|
||||||
#define INITIAL 0
|
#define INITIAL 0
|
||||||
|
|
||||||
@@ -763,7 +763,7 @@ YY_DECL
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#line 747 "lex.SelectionFilter.c"
|
#line 747 "SelectionFilter.lex.cpp"
|
||||||
|
|
||||||
while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
|
while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
|
||||||
{
|
{
|
||||||
@@ -874,7 +874,7 @@ YY_RULE_SETUP
|
|||||||
#line 54 "SelectionFilter.l"
|
#line 54 "SelectionFilter.l"
|
||||||
ECHO;
|
ECHO;
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
#line 858 "lex.SelectionFilter.c"
|
#line 858 "SelectionFilter.lex.cpp"
|
||||||
case YY_STATE_EOF(INITIAL):
|
case YY_STATE_EOF(INITIAL):
|
||||||
yyterminate();
|
yyterminate();
|
||||||
|
|
||||||
Reference in New Issue
Block a user