Changeset cf220e3 in report for tools


Ignore:
Timestamp:
Sep 11, 2001 1:04:28 PM (18 years ago)
Author:
Simon Peyton Jones <simonpj@…>
Branches:
h2010, h98, master
Children:
ad522a6
Parents:
dcf0e72
Message:

Simon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/splitAndIndexPgm

    rdcf0e72 rcf220e3  
    22     if $running_under_some_random_shell;
    33#
    4 # $Header: /home/cvs/root/haskell-report/tools/splitAndIndexPgm,v 1.1 2001/03/28 14:15:26 simonpj Exp $
     4# $Header: /home/cvs/root/haskell-report/tools/splitAndIndexPgm,v 1.2 2001/09/11 13:04:28 simonpj Exp $
    55#
    66# This script reads a Haskell program and inserts LaTeX/verbatim
     
    9393
    9494    foreach $i (@indexentries) {
    95         if ($i =~ /^[A-Za-z][A-Za-z0-9_]*$/) {
     95        if ($i =~ /^[A-Za-z][A-Za-z0-9'_]*$/) {
    9696            $i =~ s/\_/\{\\char'137\}/g;
    9797            print "\\indextt\{$i\}%\n" if ($i !~ /^prim[A-Z]/); # no primitives, we're British
Note: See TracChangeset for help on using the changeset viewer.