annotate lab1/lexer.mli @ 1:b5139af1a420
tip basis
Fixed permissions on compile scripts
author |
Mike Spivey <mike@cs.ox.ac.uk> |
date |
Fri, 13 Oct 2017 17:27:58 +0100 |
parents |
bfdcc3820b32 |
children |
|
rev |
line source |
0
|
1 (* lab1/lexer.mli *)
|
|
2 (* Copyright (c) 2017 J. M. Spivey *)
|
|
3
|
|
4 (* |token| -- scan a token and return its code *)
|
|
5 val token : Lexing.lexbuf -> Parser.token
|
|
6
|
|
7 (* |lineno| -- number of current line *)
|
|
8 val lineno : int ref
|
|
9
|
|
10 (* |get_vars| -- list of identifiers used in program *)
|
|
11 val get_vars : unit -> Tree.ident list
|