Module: Mesa Branch: master Commit: 80ec97af79530dc053770d218cd55ac7dbd74736 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=80ec97af79530dc053770d218cd55ac7dbd74736
Author: Kenneth Graunke <kenn...@whitecape.org> Date: Tue Mar 1 15:13:04 2011 -0800 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(-) diff --git a/src/glsl/Makefile b/src/glsl/Makefile index df031d2..cd7c41a 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 _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit