Error: Quex engine constructor has received a standard input handle!
Error: Standard input has to be treated like buffered input. Please,
Error: consult the documentation or the example 'stdinlexer.cpp' in
Error: directory $QUEX_PATH/demo/010 (> make stdinlexer.exe). Please,
Error: review the other (non-stdin) examples in this directory to
Error: conclude how to read encoded data via stdin.
Note also that the example in question is number 009 and not 010.
Fix also the English: "to conclude" -> "for learning"
Last edit: Giuseppe Attardi 2015-06-30
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You suggested to look at example 009 for a solution.
However, what the example does is to read data and to push it to the lexer.
That does not work for me. I want the lexer to pull data from the stream, not viceversa, since I am building a data-driven pipeline.
Each stage pulls data from the previous one.
Here is a simple main function that does what I need, and works in 0.64.8
I need to create a lexer reading data from an ifstream:
This worked in version 0.64.8, using
In version 0.65.4 instead I get this error:
Error: Quex engine constructor has received a standard input handle!
Error: Standard input has to be treated like buffered input. Please,
Error: consult the documentation or the example 'stdinlexer.cpp' in
Error: directory $QUEX_PATH/demo/010 (> make stdinlexer.exe). Please,
Error: review the other (non-stdin) examples in this directory to
Error: conclude how to read encoded data via stdin.
Note also that the example in question is number 009 and not 010.
Fix also the English: "to conclude" -> "for learning"
Last edit: Giuseppe Attardi 2015-06-30
You suggested to look at example 009 for a solution.
However, what the example does is to read data and to push it to the lexer.
That does not work for me. I want the lexer to pull data from the stream, not viceversa, since I am building a data-driven pipeline.
Each stage pulls data from the previous one.
Here is a simple main function that does what I need, and works in 0.64.8