Make builtin statics unambigous

This commit is contained in:
Luchs
2015-04-16 14:45:22 +02:00
parent 8d90333ebc
commit 4dad9cd688
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import glob
import os.path
import re
PATTERN = re.compile(r'libSource =\n("(.|[\n])*?);')
PATTERN = re.compile(r'LibSource =\n("(.|[\n])*?);')
def copy_builtin(filename):
name = os.path.basename(filename)
@@ -24,7 +24,7 @@ def copy_builtin(filename):
# in the C string literal.
wren_source = wren_source.replace('\\', '\\\\')
constant = "libSource =\n" + wren_source + ";"
constant = "LibSource =\n" + wren_source + ";"
with open("src/vm/wren_" + name + ".c", "r") as f:
c_source = f.read()