Skip to content
Myr

version number

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sean Barrett · committed by Sean Barrett · parent 83a2489 · Browse files · 1 file+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:stb_c_lexer.h+3 added-1 removed
1// stb_c_lexer.h - v0.08 - public domain Sean Barrett 20131// stb_c_lexer.h - v0.09 - public domain Sean Barrett 20132// lexer for making little C-like languages with recursive-descent parsers3//4// This file provides both the interface and the implementation.5// To instantiate the implementation,
3 unmodified lines
9// The default configuration is fairly close to a C lexer, although10// suffixes on integer constants are not handled (you can override this).11//12// History:13// 0.09 hex floats, no-stdlib fixes14// 0.08 fix bad pointer comparison15// 0.07 fix mishandling of hexadecimal constants parsed by strtol16// 0.06 fix missing next character after ending quote mark (Andreas Fredriksson)17// 0.05 refixed get_location because github version had lost the fix
15 unmodified lines
33// - need to expand error reporting so you don't just get "CLEX_parse_error"34//35// Contributors:36// Arpad Goretity (bugfix)37// Alan Hickman (hex floats)38//39// LICENSE40//41// See end of file for license information.
921 unmodified lines