projects
/
platform
/
upstream
/
bison.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bfc2e2
)
(LOCATION_COLUMNS, LOCATION_LINES): Remove; no longer used.
author
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 3 Nov 2002 08:41:08 +0000
(08:41 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 3 Nov 2002 08:41:08 +0000
(08:41 +0000)
src/location.h
patch
|
blob
|
history
diff --git
a/src/location.h
b/src/location.h
index
94afc24
..
7e8fe61
100644
(file)
--- a/
src/location.h
+++ b/
src/location.h
@@
-40,20
+40,6
@@
do { \
(Loc).last_column = (Loc).last_line = 1; \
} while (0)
-/* Advance of NUM columns. */
-# define LOCATION_COLUMNS(Loc, Num) \
-do { \
- (Loc).last_column += Num; \
-} while (0)
-
-
-/* Advance of NUM lines. */
-# define LOCATION_LINES(Loc, Num) \
-do { \
- (Loc).last_column = 1; \
- (Loc).last_line += Num; \
-} while (0)
-
/* Restart: move the first cursor to the last position. */
# define LOCATION_STEP(Loc) \