ocaml/camlp4/ocaml_src/tools/camlp4_comm.mpw

28 lines
1012 B
Plaintext
Raw Normal View History

#######################################################################
# #
# Camlp4 #
# #
# Damien Doligez, projet Para, INRIA Rocquencourt #
# #
# Copyright 1999 Institut National de Recherche en Informatique et #
# en Automatique. Distributed only by permission. #
# #
#######################################################################
# $Id$
set echo 0
exit if {#} < 1
if "{1}" =~ /(<28>)<29>0.mli/
echo duplicate -y {1} {<7B>0}.ppi
duplicate -y "{1}" "{<7B>0}.ppi"
else if "{1}" =~ /(<28>)<29>0.ml/
echo duplicate -y {1} {<7B>0}.ppo
duplicate -y "{1}" "{<7B>0}.ppo"
else
echo duplicate -y {1} {1}.ppo
duplicate -y "{1}" "{1}.ppo"
end