# New Ticket Created by Bernhard Schmalhofer # Please include the string: [perl #24584] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=24584 >
This patch concers a few error messages generated in 'imclexer.c'.
When playing around with 'pcre.imc' for 'Parrot m4', I got a strange error
message:
--------------------------
error:imcc:parse error, unexpected IDENTIFIER
in file '.PCRE_DOLLAR' line 53
included from 't/regex/001_pcre_2.imc' sub '_main' line 23
-------------------------
The cause of the error was in my code, but the strange thing is that
'.PCRE_DOLLAR' is a macro.
The error message can be switched to 'in macro' by telling the 'frames'
pointer earlier, that the current
frame is a macro, not a file.
I think the 'imclexer.c' is generated from 'imcc.l' during maintainance. So
I made the patch in both files.
I also added two test cases in 'imcc/t/syn/macro.t'. The last test case
fails without the patch in 'imclexer.c'.
CU, Bernhard
--
/* [EMAIL PROTECTED] */
--
+++ GMX - die erste Adresse fÃr Mail, Message, More +++
Neu: Preissenkung fÃr MMS und FreeMMS! http://www.gmx.net
imcc_l_20031202.patch
Description: Binary data
