comparison place.c @ 157:95fbb216e23f

Make place_getname public, so that __FILE__ can use it.
author Joerg Sonnenberger <joerg@bec.de>
date Fri, 27 Feb 2015 00:21:31 +0100
parents 26ee741196d1
children d6e6b3940780
comparison
equal deleted inserted replaced
151:ccfcf1da156b 157:95fbb216e23f
152 p->file = pf; 152 p->file = pf;
153 p->line = 1; 153 p->line = 1;
154 p->column = 1; 154 p->column = 1;
155 } 155 }
156 156
157 static
158 const char * 157 const char *
159 place_getname(const struct place *p) 158 place_getname(const struct place *p)
160 { 159 {
161 switch (p->type) { 160 switch (p->type) {
162 case P_NOWHERE: return "<nowhere>"; 161 case P_NOWHERE: return "<nowhere>";