~ubuntu-branches/ubuntu/hardy/pxp/hardy

« back to all changes in this revision

Viewing changes to tools/src/lexpp/uni_types.ml

  • Committer: Bazaar Package Importer
  • Author(s): Stefano Zacchiroli
  • Date: 2005-03-29 11:06:39 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050329110639-5p39hz1d4aq3r2ec
Tags: 1.1.95-6
* Rebuilt against ocaml 3.08.3
* No longer built with wlex support (since wlex is no longer supported
  upstream and corresponding package has been removed from the debian
  archive)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
(* $Id: uni_types.ml 665 2004-06-02 10:54:48Z gerd $
 
2
 * ----------------------------------------------------------------------
 
3
 *
 
4
 *)
 
5
 
 
6
(******************************************************)
 
7
(*    Claudio Sacerdoti Coen <sacerdot@cs.unibo.it>   *)
 
8
(*                   14/05/2000                       *)
 
9
(******************************************************)
 
10
 
 
11
type regexp =
 
12
   Char of int
 
13
 | Interval of int * int      (* lower bound, upper bound *)
 
14
 | Identifier of string
 
15
 | Concat of regexp list list (* concatenation of disjunctions *)
 
16
;;
 
17
 
 
18
type definition = { id : string ; rel : regexp list } ;;
 
19