Sean Barrett
6e9f34d542
Merge branch 'master' into working
2024-07-15 08:28:08 -07:00
Sean Barrett
1ee679ca2e
update version numbers
2021-07-11 17:07:54 -07:00
Sean Barrett
fd7807e92d
stb_c_lexer: allow including stb_c_lexer.h without defining overrides (all tokens are always defined; token values have changed)
2021-07-11 16:37:34 -07:00
Fabian Giesen
8af4d40950
stb_c_lexer: Move token enum defn to header portion
...
Required some tinkering, hope I didn't mess the logic up.
This now requires the config section to be set for the header
file, and different sites that include it should agree on what
the values are. This is kind of iffy but hard to avoid.
Fixes issue #647 .
2021-07-07 04:02:32 -07:00
Sean Barrett
ca0e6d06d8
stb_c_lexer: don't define default macro definitions on non-implementation includes
2021-07-07 00:57:43 -07:00
Sean Barrett
84e7a4ae24
stb_c_lexer: fix NUL eof test so it compiles
2021-07-07 00:43:40 -07:00
mundusnine
aac5e88feb
Add contributor
2021-06-16 20:28:53 -04:00
mundusnine
84fa046c7c
Fix custom types having a string_len of 0(always)
2021-06-07 14:34:45 -04:00
Sean Barrett
2bb4a0accd
Fix trailing whitespace
2020-02-02 11:30:27 -08:00
Sean Barrett
787f1d646a
Update version numbers
2019-08-11 05:38:37 -07:00
Sean Barrett
a895aec686
stb_c_lexer: fix a static analysis warning
2019-08-11 05:19:00 -07:00
Sean Barrett
2c2908f505
update version numbers
2019-03-04 15:08:53 -08:00
Sean Barrett
a0b521fcf2
no warnings when compiling /W3
...
compiling all test cases and compilers in test.sbm
Compilers:
32-bit:
VS2015
VS2013
VS2008
VC6 (1998)
clang-cl 9.0.1
64-bit
VS2015
clang-cl 9.0.1
2019-03-04 14:45:06 -08:00
Sean Barrett
3afc3de41d
version number
2017-03-03 09:31:25 -08:00
Sean Barrett
83a2489d5b
fix compilation on non-C99 compilers
2017-03-03 09:22:07 -08:00
Sean Barrett
ed05048323
Merge branch 'master' of https://github.com/fahickman/stb into working
2017-03-03 09:15:17 -08:00
Sean Barrett
e77673f4aa
Merge branch 'patch-1' of https://github.com/bryongloden/stb into working
2017-03-03 09:07:37 -08:00
Sean Barrett
47685c5f84
remove deprecated old-precision jpg path from stb_image.h
...
tweak license reference wording
2017-03-03 08:19:09 -08:00
Sean Barrett
e248e30954
change license to public-domain AND mit (based on twitter vote)
2017-03-03 07:53:07 -08:00
Sean Barrett
96620a3a54
update version numbers
2017-01-16 00:51:24 -08:00
Sean Barrett
0bd0a9abc4
stb_truetype: comment typo
...
stb_c_lexer: end-of-array wrapped overflow bug
2017-01-16 00:11:58 -08:00
Alan Hickman
49d3871d86
stb_c_lexer.h: C99 hex float literals
...
* Add support for C99 hex float literals
* + is acceptable in a floating-point exponent
* log(n) implementation of pow for stb__clex_parse_float
* Add hex int and float test cases
2016-09-18 21:33:26 -07:00
Alan Hickman
c6b6239357
stb_c_lexer.h: Compile fixes when not using CRT
2016-09-18 21:33:26 -07:00
Bryon Gloden, CISSP®
8eebc09150
Update stb_c_lexer.h
...
[stb_c_lexer.h:801]: (error) Memory leak: text
[stb_c_lexer.h:801]: (error) Resource leak: f
Found by https://github.com/bryongloden/cppcheck
2016-08-04 16:39:39 -04:00
Craig Donner
ee6978cb68
Slightly modify the public domain license to keep it in the public domain, but make it clear that even when dedications might not be recognized that the code is still usable. Given that this isn't dual-licensing under a different license, I'm hoping this will be acceptable.
2016-02-25 12:55:44 -08:00
Sean Barrett
418d21f2e2
bump the version number and add version hisoty
2016-01-16 07:52:15 -08:00
Sean Barrett
31eff2dcaf
fix bug in integer parsing
2015-11-08 00:37:52 -08:00
Ryan Whitworth
4ab69f3b2c
Added public domain license text
2015-08-01 14:46:52 -04:00
Sean Barrett
62e4ffe6c7
fix bug in string parsing that was ignoring next character after the string
2014-06-19 20:03:22 -07:00
Sean Barrett
42ee042407
Re-add lost fix to 'get_location' function as reported by Andreas Fredriksson.
2014-06-15 12:47:14 -07:00
Sean Barrett
fcfcb9bb3f
generate README.md in part by parsing libraries so that version numbers are in sync
2014-05-30 14:15:51 -07:00
Sean Barrett
e2caccb811
initial checkin
2014-05-25 10:18:03 -07:00