summaryrefslogtreecommitdiff
path: root/dist/Mesa/src/glsl/glcpp/glcpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'dist/Mesa/src/glsl/glcpp/glcpp.c')
-rw-r--r--dist/Mesa/src/glsl/glcpp/glcpp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/dist/Mesa/src/glsl/glcpp/glcpp.c b/dist/Mesa/src/glsl/glcpp/glcpp.c
index ca188015c..07b1500b6 100644
--- a/dist/Mesa/src/glsl/glcpp/glcpp.c
+++ b/dist/Mesa/src/glsl/glcpp/glcpp.c
@@ -124,7 +124,6 @@ enum {
const static struct option
long_options[] = {
{"disable-line-continuations", no_argument, 0, DISABLE_LINE_CONTINUATIONS_OPT },
- {"debug", no_argument, 0, 'd'},
{0, 0, 0, 0 }
};
@@ -141,14 +140,11 @@ main (int argc, char *argv[])
init_fake_gl_context (&gl_ctx);
- while ((c = getopt_long(argc, argv, "d", long_options, NULL)) != -1) {
+ while ((c = getopt_long(argc, argv, "", long_options, NULL)) != -1) {
switch (c) {
case DISABLE_LINE_CONTINUATIONS_OPT:
gl_ctx.Const.DisableGLSLLineContinuations = true;
break;
- case 'd':
- glcpp_parser_debug = 1;
- break;
default:
usage ();
exit (1);