summaryrefslogtreecommitdiff
path: root/src/glsl/pp
AgeCommit message (Collapse)Author
2009-09-24glsl/pp: Store both line number and file index in a single token.Michal Krol
2009-09-23glsl/pp: Include missing headers.Michal Krol
2009-09-23glsl/pp: Add `0' and `1' to dictionary.Michal Krol
2009-09-23glsl/pp: Check for reserved macro names.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-17glsl/pp: Add a TODO for FEATURE_es2_glsl.Michal Krol
2009-09-17slang/pp: Fix file number parsing.Michal Krol
2009-09-17slang/pp: Use a dictionary for the remaining string literals.Michal Krol
2009-09-17glsl/pp: Add remaining error messages.Michal Krol
2009-09-16glsl/pp: Validate numbers.Michal Krol
2009-09-16glsl/pp: Add more error messages.Michal Krol
2009-09-16glsl/pp: Add more error messages.Michal Krol
2009-09-14glsl/pp: Support GL_ARB_draw_buffers and GL_ARB_texture_rectangle.Michal Krol
2009-09-14glsl/pp: Add a dictionary to a context.Michal Krol
2009-09-07glsl: Add error messages for version parser.Michal Krol
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