diff options
author | Adrian Thurston <thurston@complang.org> | 2015-11-13 08:55:40 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2015-11-13 08:55:40 -0500 |
commit | 2649f69523a6d551447b1a4dcb51ba541508e348 (patch) | |
tree | fc8fa5d5603dd52351da115ba05a328e6b687dcb /src/tree.c | |
parent | 5182f76980bde6ba75f62247f9775e7da51e91b3 (diff) | |
download | colm-2649f69523a6d551447b1a4dcb51ba541508e348.tar.gz |
when tokens come from strings, init with a default location
Diffstat (limited to 'src/tree.c')
-rw-r--r-- | src/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1615,7 +1615,7 @@ static location_t *loc_search_kid( program_t *prg, kid_t *kid ) return res; } -location_t *loc_search( program_t *prg, tree_t *tree ) +static location_t *loc_search( program_t *prg, tree_t *tree ) { location_t *res = 0; if ( tree->tokdata != 0 && tree->tokdata->location != 0 ) |