C:/Users/Dennis/src/lang/russell.orig/src/pass3/is_local.h

Go to the documentation of this file.
00001 /* test whether the identifier p is declared inside the tree with root */
00002 /* r.                                                                  */
00003 # define is_descendant(p,r)  \
00004         ((((p) -> post_num) < ((r) -> post_num)) \
00005         && (((p) -> pre_num) > ((r) -> pre_num)))
00006 
00007 #define is_local(p,r)  \
00008         is_descendant(p -> id_last_definition, r)
00009 

Generated on Fri Jan 25 10:39:46 2008 for russell by  doxygen 1.5.4