path: root/src/glsl/pp
AgeCommit message (Expand)AuthorFilesLines
2009-11-10glsl/pp: Have sl_pp_purify() return error msg/line no.Michal Krol2-11/+50
2009-09-28glsl/pp: Expand macro actual arguments before pasting into its body.Michal Krol1-49/+53
2009-09-24glsl/pp: Add forward decls to silence gcc warnings.Michal Krol2-0/+5
2009-09-24glsl/pp: Avoid using `__VERSION__' as an identifier.Michal Krol3-3/+7
2009-09-24glsl/pp: Include missing headers.Michal Krol10-0/+11
2009-09-24glsl/pp: Allow builds on all platforms.Michal Krol1-3/+0
2009-09-24glsl/pp: Use struct instead of union.Michal Krol1-1/+1
2009-09-24glsl/pp: Store both line number and file index in a single token.Michal Krol3-25/+16
2009-09-23glsl/pp: Include missing headers.Michal Krol2-0/+2
2009-09-23glsl/pp: Add `0' and `1' to dictionary.Michal Krol3-8/+7
2009-09-23glsl/pp: Check for reserved macro names.Michal Krol1-0/+16
2009-09-22glsl/pp: Differentiate between integer and floating-point number tokens.Michal Krol8-22/+39
2009-09-18glsl/pp: Define a public interface for external modules.Michal Krol8-29/+52
2009-09-17glsl/pp: Add a TODO for FEATURE_es2_glsl.Michal Krol1-0/+5
2009-09-17slang/pp: Fix file number parsing.Michal Krol1-1/+1
2009-09-17slang/pp: Use a dictionary for the remaining string literals.Michal Krol7-54/+95
2009-09-17glsl/pp: Add remaining error messages.Michal Krol9-97/+68
2009-09-16glsl/pp: Validate numbers.Michal Krol1-23/+227
2009-09-16glsl/pp: Add more error messages.Michal Krol1-0/+3
2009-09-16glsl/pp: Add more error messages.Michal Krol1-1/+10
2009-09-14glsl/pp: Support GL_ARB_draw_buffers and GL_ARB_texture_rectangle.Michal Krol1-34/+49
2009-09-14glsl/pp: Add a dictionary to a context.Michal Krol5-2/+115
2009-09-07glsl: Add error messages for version parser.Michal Krol1-3/+3
2009-09-07glsl: Handle file numbering.Michal Krol5-3/+25
2009-09-07glsl: Actually respect the hash-line directive.Michal Krol1-0/+2
2009-09-07glsl: Correctly handle line numbering.Michal Krol8-7/+81
2009-09-07glsl: Preserve newline inside comment blocks.Michal Krol1-31/+58
2009-09-07glsl: Implement predefinded macros.Michal Krol1-0/+41
2009-09-07glsl: Implement `line' preprocessor directive.Michal Krol4-1/+108
2009-09-07glsl: Output endof token after processing a directive.Michal Krol1-6/+7
2009-09-07glsl: Implement `extension' preprocessor directive.Michal Krol5-0/+147
2009-09-07glsl: Implement `pragma' preprocessor directive.Michal Krol5-0/+122
2009-09-07glsl: Implement `error' preprocessor directive.Michal Krol6-0/+278
2009-09-07glsl: Implement `undef' preprocessor directive.Michal Krol3-9/+54
2009-09-07glsl: Allow for preprocessor macro redefinition.Michal Krol7-29/+65
2009-09-07glsl: Handle `defined' preprocessor operator.Michal Krol1-3/+79
2009-09-07glsl: Support if preprocessor directive and friends.Michal Krol8-25/+388
2009-09-07glsl: Add expression interpreter.Michal Krol3-0/+448
2009-09-07glsl: Centralise sl_pp_macro constructor.Michal Krol4-18/+24
2009-09-07glsl: Implement macro expansion.Michal Krol5-29/+259
2009-09-07glsl: Rename sl_pp_context_add_str to sl_pp_context_add_unique_str.Michal Krol4-7/+23
2009-09-07glsl: Parse define directive in preprocessor.Michal Krol8-5/+296
2009-09-07glsl: Simplify directive parser skeleton.Michal Krol3-91/+141
2009-09-07glsl: Introduce sl_pp_context and maintain a reuseable pool of strings.Michal Krol9-43/+181
2009-09-07glsl: Add preprocessor skeleton for directive parsing.Michal Krol3-0/+196
2009-09-07glsl: Remove bogus sl_pp_directive.h include.Michal Krol1-1/+0
2009-09-07glsl: Allow for multiple version statements.Michal Krol1-68/+76
2009-09-07glsl: Raise an error on an unfinished comment block.Michal Krol1-1/+9
2009-09-07glsl: Parse optional version directive.Michal Krol3-0/+190
2009-09-07glsl: Add a preprocessor tokeniser.Michal Krol3-0/+509