normalize inc dirs, symplify include_next
commita6276b7a7846a59b06b1909c63435b580b8c4d29
authorseyko <seyko2@gmail.com>
Thu, 5 Nov 2015 16:52:49 +0000 (5 19:52 +0300)
committerseyko <seyko2@gmail.com>
Thu, 5 Nov 2015 16:52:49 +0000 (5 19:52 +0300)
tree4294e494cf003e818938de512d935f40244a8690
parent45bc50596874ec7cb26aac3dca3339ba25086436
normalize inc dirs, symplify include_next

    include dirs are prepared as in gcc
    - for each duplicate path keep just the first one
    - remove each include_path that exists in sysinclude_paths

    include_next streamlined by introducing inc_path_index
    in the BufferedFile
libtcc.c
tcc.h
tccpp.c