13 Commits

Author SHA1 Message Date
Diegoisawesome b96dc56f0c scaninc: Fix C comment consumption logic 2019-03-18 12:20:37 -05:00
Marcus Huderle 53adea30cc Update scaninc and preproc with multi-file incbins (ported from pokeemerald) (#685) 2018-09-11 17:39:20 -05:00
camthesaxman 7529e63a5a fix out of bounds read when scanning comments 2017-10-22 23:40:14 -05:00
yenatch b21c159b08 scaninc: fix buffer overflow 2017-07-29 14:57:06 -04:00
yenatch c0ebc30a60 scaninc: skip whitespace/comments in the read loop
fixes e73ec108ad
2017-07-24 00:17:38 -04:00
yenatch d2a1118862 scaninc: optimize for unix newlines
this probably has no effect whatsoever
2017-07-23 22:37:53 -04:00
yenatch e73ec108ad scaninc: skipping comments seems to be faster than removing them 2017-07-23 22:34:49 -04:00
yenatch 89c9c19446 scaninc: faster incbin detection 2017-07-23 22:29:57 -04:00
yenatch 0faa6c9c93 scaninc: read c includes
Now editing .h files triggers a rebuild.
Also allow .h and .inc files to be passed as a main argument.
src/ and include/ are temporarily hardcoded.
2017-07-22 18:49:38 -04:00
camthesaxman 7c96b16179 use std:: prefix and remove some unused functions 2017-02-03 23:19:18 -06:00
YamaArashi 18e21f8b09 remove C++14 feature from tools 2017-02-03 20:34:51 -08:00
Cameron Hall 72bc8f23d3 make scaninc build under GCC (#218) 2017-01-25 22:15:49 -08:00
YamaArashi c854250658 preproc incbins 2017-01-23 21:31:28 -08:00