]> git.saurik.com Git - bison.git/blobdiff - src/location.h
Revamp to fix POSIX incompatibilities, to count columns correctly, and
[bison.git] / src / location.h
index 94afc24426740a375a087fae8451945dadac89fd..7e8fe61eec75bb4470167f3783e3c7c2e665299a 100644 (file)
@@ -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)                    \