Age | Commit message (Collapse) | Author |
|
Now handled by the preprocessor.
|
|
We had to call strlen on the preprocessed source, which seemed a bit
pointless; also, we updated shader->SourceLen but not shader->Source,
which was even more confusing. Just leave both untouched.
|
|
|
|
|
|
|
|
Does not handle comments in #line or line continuation characters, but
it should be good enough for now.
|
|
|
|
Multi-line /* */ comments are still broken. I think this will wait to
be fixed until we have a real preprocessor.
|
|
This implementation was wrong anyway because it did not respect
scoping rules. This will need to be revisited soon. The most likely
result is that the grammar is going to need some significant re-work
to be able to use a IDENTIFIER in all the places where a TYPE_NAME is
currently used.
|
|
|