Error 1 The command "gplex.exe / stack / out: SimpleScriptScaner.cs SimpleScriptScaner.lex" exited with code 9009.

Aug 7, 2012 at 3:17 PM

I download simplescript to better understand the use of lex and yacc with C #.I simulate the performance and I just understood the principle but even when I try to edit the file SimpleScriptScaner.lex after compilation I get the following error:
Error 1 The command "gplex.exe / stack / out: SimpleScriptScaner.cs SimpleScriptScaner.lex" exited with code 9009. 82 5 SimpleScript.Analyzing
So my question is this: should I make a precompile project before compiling? and if that is, how do precompilation?
Thank you in advance
(Sorry for my English, I did a google translation)

Coordinator
Aug 14, 2012 at 8:07 AM

I think you have mistakes in the SimpleScriptScaner.lex. There is a MSBuild action in the project file, which rebuilds the lexer's source code form the *.lex file on every build.