Mercurial > hg
comparison mercurial/parser.py @ 11493:cc4e2a7ca23f
Merge with stable
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Fri, 02 Jul 2010 11:30:57 +0200 |
parents | 05af334bac05 |
children | 895f54a79c6e |
comparison
equal
deleted
inserted
replaced
11428:8b452fe4bf50 | 11493:cc4e2a7ca23f |
---|---|
3 # Copyright 2010 Matt Mackall <mpm@selenic.com> | 3 # Copyright 2010 Matt Mackall <mpm@selenic.com> |
4 # | 4 # |
5 # This software may be used and distributed according to the terms of the | 5 # This software may be used and distributed according to the terms of the |
6 # GNU General Public License version 2 or any later version. | 6 # GNU General Public License version 2 or any later version. |
7 | 7 |
8 # see http://effbot.org/zone/simple-top-down-parsing.txt and | 8 # see http://effbot.org/zone/simple-top-down-parsing.htm and |
9 # http://eli.thegreenplace.net/2010/01/02/top-down-operator-precedence-parsing/ | 9 # http://eli.thegreenplace.net/2010/01/02/top-down-operator-precedence-parsing/ |
10 # for background | 10 # for background |
11 | 11 |
12 # takes a tokenizer and elements | 12 # takes a tokenizer and elements |
13 # tokenizer is an iterator that returns type, value pairs | 13 # tokenizer is an iterator that returns type, value pairs |