/[bison]/bison/src/location.h
ViewVC logotype

Diff of /bison/src/location.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by akim, Tue Jul 9 16:24:57 2002 UTC revision 1.4 by eggert, Sun Nov 3 08:41:08 2002 UTC
# Line 40  do {                                           \ Line 40  do {                                           \
40    (Loc).last_column =  (Loc).last_line = 1;     \    (Loc).last_column =  (Loc).last_line = 1;     \
41  } while (0)  } while (0)
42    
 /* 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)  
   
43    
44  /* Restart: move the first cursor to the last position. */  /* Restart: move the first cursor to the last position. */
45  # define LOCATION_STEP(Loc)                     \  # define LOCATION_STEP(Loc)                     \

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26