summaryrefslogtreecommitdiff
path: root/src/glsl/pp/sl_pp_token.h
AgeCommit message (Collapse)Author
2009-11-21glsl/pp: Do purification and tokenisation in a single step.Michal Krol
2009-09-24glsl/pp: Add forward decls to silence gcc warnings.Michal Krol
2009-09-24glsl/pp: Use struct instead of union.Michal Krol
2009-09-24glsl/pp: Store both line number and file index in a single token.Michal Krol
2009-09-22glsl/pp: Differentiate between integer and floating-point number tokens.Michal Krol
2009-09-18glsl/pp: Define a public interface for external modules.Michal Krol
Make sl_pp_context struct opaque. Move all public declarations to sl_pp_public.h.
2009-09-07glsl: Handle file numbering.Michal Krol
2009-09-07glsl: Correctly handle line numbering.Michal Krol
2009-09-07glsl: Implement `extension' preprocessor directive.Michal Krol
No extensions supported.
2009-09-07glsl: Implement `pragma' preprocessor directive.Michal Krol
Handle `optimize(on|off)' and `debug(on|off)' pragmas.
2009-09-07glsl: Rename sl_pp_context_add_str to sl_pp_context_add_unique_str.Michal Krol
Return the same offset for same strings. Allows to compare strings by comparing their's offsets.
2009-09-07glsl: Introduce sl_pp_context and maintain a reuseable pool of strings.Michal Krol
2009-09-07glsl: Add a preprocessor tokeniser.Michal Krol