# New Ticket Created by Leopold Toetsch
# Please include the string: [perl #17704]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=17704 >
This patch corrects the reported parser error in imcc/samples.imc.
(After .eom, one additional NL was demanded)
Please apply and checkin imcparser.* too after make.
Thanks,
leo
-- attachment 1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/38996/31670/b47cf2/imcc-0_0_9_4.patch
--- parrot/languages/imcc/imcc.y Thu Sep 26 08:31:25 2002
+++ parrot-leo/languages/imcc/imcc.y Tue Oct 1 08:40:18 2002
@@ -436,7 +436,7 @@
emit:
EMIT pasmcode { $$ = 0;}
- EOM '\n' { emit_flush(); clear_tables();$$=0;}
+ EOM { emit_flush(); clear_tables();$$=0;}
;
nls:
--- parrot/languages/imcc/imc.h Thu Sep 26 08:31:22 2002
+++ parrot-leo/languages/imcc/imc.h Tue Oct 1 08:50:45 2002
@@ -1,7 +1,7 @@
#ifndef __IMC_H
#define __IMC_H
-#define IMCC_VERSION "0.0.9.3"
+#define IMCC_VERSION "0.0.9.4"
#include <stdio.h>
#include <stdlib.h>