Mike Lambert wrote: > ... Attached patch gets IMCC building on MSVC without > cygwin (lex/bison/yacc/etc).
Good. > t/rx/basic.t 2 512 5 2 40.00% 3-4 > t/rx/call.t 1 256 2 1 50.00% 2 > > Any idea on how to go about fixing the rx ones? They're failing on > imc->pasm, with msgs like "NO Op rx_pushmark_ic (rx_pushmark<1>)" Ohoh, looks like a lexer problem i.e. lineending problem. Could you try the patch below: - not a final solution, but should help - if not, please send me the last ~40 lines of a parser trace imcc --yydebug --- imcc.l Tue Aug 27 16:33:09 2002 +++ /home/lt/src/parrot-leo/languages/imcc/imcc.l Mon Sep 2 08:46:38 2002 @@ -31,6 +31,7 @@ STRINGCONSTANT \"[^"\n]*["\n] CHARCONSTANT \'[^'\n]*\' RANKSPEC \[[,]*\] +EOL \r?\n %x emit2 %s expecteol @@ -59,14 +60,14 @@ <emit2>.|\n ; -<expecteol>[\n] { +<expecteol>{EOL} { BEGIN(INITIAL); expect_eol = 0; line++; return '\n'; } -<expecteol>#.*[\n] { +<expecteol>#.*{EOL} { BEGIN(INITIAL); expect_eol = 0; line++; leo