From 478d0b1d8a155ebdbfd141384c718108afd870ec Mon Sep 17 00:00:00 2001 From: dtrg Date: Tue, 20 Feb 2007 00:27:01 +0000 Subject: [PATCH] Fixed a compilation error that was causing opt to not have its peephole optimisation tables, which would make it generate duff code. --- util/opt/pmfile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/util/opt/pmfile b/util/opt/pmfile index 900d400a5..8cbcb499f 100644 --- a/util/opt/pmfile +++ b/util/opt/pmfile @@ -44,8 +44,9 @@ local local_tool_opt = cprogram { simple { outputs = {"%U%-pattern.c"}, command = { - "%in[1]% %in[2]% > %out%" + "%in[1]% < %in[2]% > %out%" }, + install = pm.install("pattern.c"), cprogram { CLIBRARIES = {PARENT, "fl"}, @@ -66,7 +67,9 @@ local local_tool_opt = cprogram { lib_em_data, }, - file (d.."patterns") + preprocess { + file (d.."patterns") + } } }, @@ -95,7 +98,12 @@ tool_opt = group { -- Revision history -- $Log$ --- Revision 1.3 2006-10-15 00:28:12 dtrg +-- Revision 1.4 2007-02-20 00:27:01 dtrg +-- Fixed a compilation error that was causing opt to not have its +-- peephole optimisation tables, which would make it generate +-- duff code. +-- +-- Revision 1.3 2006/10/15 00:28:12 dtrg -- Updated to the version 0.1 of Prime Mover (which involves some syntax changes). -- -- Revision 1.2 2006/07/20 23:10:07 dtrg -- 2.34.1