forked from PrismJS/prism
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This improves GLSL by extending C instead of C-like.
- Loading branch information
1 parent
3faf735
commit df77cf0
Showing
10 changed files
with
104 additions
and
78 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -379,7 +379,7 @@ | |
}, | ||
"glsl": { | ||
"title": "GLSL", | ||
"require": "clike", | ||
"require": "c", | ||
"owner": "Golmote" | ||
}, | ||
"gml": { | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
#define | ||
#undef | ||
#if | ||
#ifdef | ||
#ifndef | ||
#else | ||
#elif | ||
#endif | ||
#error | ||
#pragma | ||
#extension | ||
#version | ||
#line | ||
|
||
---------------------------------------------------- | ||
|
||
[ | ||
["macro", [ | ||
"#", | ||
["directive", "define"] | ||
]], | ||
["macro", [ | ||
"#", | ||
["directive", "undef"] | ||
]], | ||
["macro", [ | ||
"#", | ||
["directive", "if"] | ||
]], | ||
["macro", [ | ||
"#", | ||
["directive", "ifdef"] | ||
]], | ||
["macro", [ | ||
"#", | ||
["directive", "ifndef"] | ||
]], | ||
["macro", [ | ||
"#", | ||
["directive", "else"] | ||
]], | ||
["macro", [ | ||
"#", | ||
["directive", "elif"] | ||
]], | ||
["macro", [ | ||
"#", | ||
["directive", "endif"] | ||
]], | ||
["macro", [ | ||
"#", | ||
["directive", "error"] | ||
]], | ||
["macro", [ | ||
"#", | ||
["directive", "pragma"] | ||
]], | ||
["macro", [ | ||
"#", | ||
["directive", "extension"] | ||
]], | ||
["macro", [ | ||
"#", | ||
["directive", "version"] | ||
]], | ||
["macro", [ | ||
"#", | ||
["directive", "line"] | ||
]] | ||
] | ||
|
||
---------------------------------------------------- | ||
|
||
Checks for preprocessor instructions. |
This file was deleted.
Oops, something went wrong.