generate_builtins.py: Fix builds using Python 2.5.
authorVinson Lee <vlee@vmware.com>
Fri, 14 Jan 2011 22:17:03 +0000 (14:17 -0800)
committerVinson Lee <vlee@vmware.com>
Fri, 14 Jan 2011 22:17:03 +0000 (14:17 -0800)
src/glsl/builtins/tools/generate_builtins.py

index 1cf12a1..fac3821 100755 (executable)
@@ -1,6 +1,8 @@
 #!/usr/bin/python
 # -*- coding: utf-8 -*-
 
+from __future__ import with_statement
+
 import re
 import sys
 from glob import glob