From 80ec97af79530dc053770d218cd55ac7dbd74736 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 1 Mar 2011 15:13:04 -0800 Subject: [PATCH] glsl: Rename .lpp to .ll and .ypp to .yy. SCons has built-in support for .ll and .yy, but not .lpp and .ypp. Since there's no real benefit to using the old names, change them. --- src/glsl/Makefile | 4 ++-- src/glsl/{glsl_lexer.lpp => glsl_lexer.ll} | 0 src/glsl/{glsl_parser.ypp => glsl_parser.yy} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/glsl/{glsl_lexer.lpp => glsl_lexer.ll} (100%) rename src/glsl/{glsl_parser.ypp => glsl_parser.yy} (100%) diff --git a/src/glsl/Makefile b/src/glsl/Makefile index df031d2d548..cd7c41a2abc 100644 --- a/src/glsl/Makefile +++ b/src/glsl/Makefile @@ -191,10 +191,10 @@ $(DRICORE_OBJ_DIR)/%.o : %.c @mkdir -p $(dir $@) $(CC) -c $(INCLUDES) $(DRI_CFLAGS) $(DEFINES) $< -o $@ -glsl_lexer.cpp: glsl_lexer.lpp +glsl_lexer.cpp: glsl_lexer.ll flex --nounistd -o$@ $< -glsl_parser.cpp: glsl_parser.ypp +glsl_parser.cpp: glsl_parser.yy bison -v -o "$@" -p "_mesa_glsl_" --defines=glsl_parser.h $< glcpp/glcpp-lex.c: glcpp/glcpp-lex.l diff --git a/src/glsl/glsl_lexer.lpp b/src/glsl/glsl_lexer.ll similarity index 100% rename from src/glsl/glsl_lexer.lpp rename to src/glsl/glsl_lexer.ll diff --git a/src/glsl/glsl_parser.ypp b/src/glsl/glsl_parser.yy similarity index 100% rename from src/glsl/glsl_parser.ypp rename to src/glsl/glsl_parser.yy -- 2.30.2