Browse code

Updated mkuxn-fast script to match uxnasm changes

Andrew Alderwick authored on 14/07/2021 19:17:39
Showing 2 changed files
... ...
@@ -228,7 +228,7 @@ end
228 228
 i = 0
229 229
 wanted = false
230 230
 for l in assert(io.lines('src/uxnasm.c')) do
231
-  if l == 'char ops[][4] = {' then
231
+  if l == 'static char ops[][4] = {' then
232 232
     wanted = true
233 233
   elseif l == '};' then
234 234
     wanted = false
... ...
@@ -164,7 +164,7 @@ for l in assert io.lines 'src/uxn.c'
164 164
 i = 0
165 165
 wanted = false
166 166
 for l in assert io.lines 'src/uxnasm.c'
167
-	if l == 'char ops[][4] = {'
167
+	if l == 'static char ops[][4] = {'
168 168
 		wanted = true
169 169
 	elseif l == '};'
170 170
 		wanted = false