From 0a4b860d66672f36493f093bdac92c87d12e08bb Mon Sep 17 00:00:00 2001 From: Uwe Date: Wed, 8 Feb 2023 05:58:34 +0100 Subject: [PATCH] [App] [skip ci] add info for expression lexer generation --- src/App/ExpressionParser.l | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/App/ExpressionParser.l b/src/App/ExpressionParser.l index f4473d5f70..24b247823e 100644 --- a/src/App/ExpressionParser.l +++ b/src/App/ExpressionParser.l @@ -24,6 +24,13 @@ /* Lexer for the FreeCAD Expression language */ +/* use this file to generate the file 'lex.ExpressionParser.c' using the program flex + * the command for this operation is: + * flex --outfile=lex.ExpressionParser.c ExpressionParser.l + * (flex for Windows is available here: + * https://sourceforge.net/projects/winflexbison/ + * (you must then change 'flex' to 'win_flex' in the command)) */ + /* This disables inclusion of unistd.h, which is not available under Visual C++ * on Win32. The C++ scanner uses STL streams instead. */ #define YY_NO_UNISTD_H