From 0de6d7e99195b6e739e3a80482ad7860c14bef3b Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Fri, 14 Jan 2011 14:17:03 -0800 Subject: [PATCH] generate_builtins.py: Fix builds using Python 2.5. --- src/glsl/builtins/tools/generate_builtins.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/glsl/builtins/tools/generate_builtins.py b/src/glsl/builtins/tools/generate_builtins.py index 1cf12a148c6..fac3821dd56 100755 --- a/src/glsl/builtins/tools/generate_builtins.py +++ b/src/glsl/builtins/tools/generate_builtins.py @@ -1,6 +1,8 @@ #!/usr/bin/python # -*- coding: utf-8 -*- +from __future__ import with_statement + import re import sys from glob import glob -- 2.30.2