Mercurial > hg > xemacs-beta
comparison src/line-number.c @ 380:8626e4521993 r21-2-5
Import from CVS: tag r21-2-5
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:07:10 +0200 |
parents | 6240c7796c7a |
children | 74fd4e045ea6 |
comparison
equal
deleted
inserted
replaced
379:76b7d63099ad | 380:8626e4521993 |
---|---|
50 counting the newlines). */ | 50 counting the newlines). */ |
51 | 51 |
52 #include <config.h> | 52 #include <config.h> |
53 #include "lisp.h" | 53 #include "lisp.h" |
54 #include "buffer.h" | 54 #include "buffer.h" |
55 #include "insdel.h" | |
56 | 55 |
57 #include "line-number.h" | 56 #include "line-number.h" |
58 | 57 |
59 /* #### The following three values could stand more exploration for | 58 /* #### The following three values could stand more exploration for |
60 best performance. */ | 59 best performance. */ |
79 | 78 |
80 | 79 |
81 /* Initialize the cache. Cache is (in pseudo-BNF): | 80 /* Initialize the cache. Cache is (in pseudo-BNF): |
82 | 81 |
83 CACHE = nil | INITIALIZED-CACHE | 82 CACHE = nil | INITIALIZED-CACHE |
84 INITITIALIZED-CACHE = cons (RING, BEGV-LINE) | 83 INITIALIZED-CACHE = cons (RING, BEGV-LINE) |
85 RING = vector (*RING-ELEMENT) | 84 RING = vector (*RING-ELEMENT) |
86 RING-ELEMENT = nil | RING-PAIR | 85 RING-ELEMENT = nil | RING-PAIR |
87 RING-PAIR = cons (marker, integer) | 86 RING-PAIR = cons (marker, integer) |
88 BEGV-LINE = integer | 87 BEGV-LINE = integer |
89 | 88 |