summaryrefslogtreecommitdiff
path: root/src/glsl/pp
AgeCommit message (Collapse)Author
2009-09-07glsl: Handle file numbering.Michal Krol
2009-09-07glsl: Actually respect the hash-line directive.Michal Krol
2009-09-07glsl: Correctly handle line numbering.Michal Krol
2009-09-07glsl: Preserve newline inside comment blocks.Michal Krol
2009-09-07glsl: Implement predefinded macros.Michal Krol
The values are hardcoded: __LINE__ = 1, __FILE__ = 0 and __VERSION__ = 110.
2009-09-07glsl: Implement `line' preprocessor directive.Michal Krol
2009-09-07glsl: Output endof token after processing a directive.Michal Krol
Some directives may output tokens as a result of their operation.
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: Implement `error' preprocessor directive.Michal Krol
2009-09-07glsl: Implement `undef' preprocessor directive.Michal Krol
2009-09-07glsl: Allow for preprocessor macro redefinition.Michal Krol
2009-09-07glsl: Handle `defined' preprocessor operator.Michal Krol
2009-09-07glsl: Support if preprocessor directive and friends.Michal Krol
2009-09-07glsl: Add expression interpreter.Michal Krol
2009-09-07glsl: Centralise sl_pp_macro constructor.Michal Krol
2009-09-07glsl: Implement macro expansion.Michal Krol
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: Parse define directive in preprocessor.Michal Krol
2009-09-07glsl: Simplify directive parser skeleton.Michal Krol
2009-09-07glsl: Introduce sl_pp_context and maintain a reuseable pool of strings.Michal Krol
2009-09-07glsl: Add preprocessor skeleton for directive parsing.Michal Krol
2009-09-07glsl: Remove bogus sl_pp_directive.h include.Michal Krol
2009-09-07glsl: Allow for multiple version statements.Michal Krol
2009-09-07glsl: Raise an error on an unfinished comment block.Michal Krol
2009-09-07glsl: Parse optional version directive.Michal Krol
2009-09-07glsl: Add a preprocessor tokeniser.Michal Krol
2009-09-07glsl: Add a purify command-line tool.Michal Krol
2009-09-07glsl: Add preprocessor purifier.Michal Krol