Skip to content
Snippets Groups Projects
Commit 1fdc2534 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Add support for exporting text sections (cfg-type = 'text-secs').

parent f3d6e22f
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -49,6 +49,7 @@ var cfgtypes = { ...@@ -49,6 +49,7 @@ var cfgtypes = {
'file-viewers': file_cnf.fview, 'file-viewers': file_cnf.fview,
'file-testers': file_cnf.ftest, 'file-testers': file_cnf.ftest,
'file-dlevents':file_cnf.dlevent, 'file-dlevents':file_cnf.dlevent,
'text-secs': file_cnf.txtsec,
'xtrn-secs': xtrn_area.sec, 'xtrn-secs': xtrn_area.sec,
'xtrn-progs': xtrn_area.prog, 'xtrn-progs': xtrn_area.prog,
'xtrn-events': xtrn_area.event, 'xtrn-events': xtrn_area.event,
...@@ -100,7 +101,7 @@ for(var i = 0; i < argc; i++) { ...@@ -100,7 +101,7 @@ for(var i = 0; i < argc; i++) {
if(arg.charAt(0) != '-') { if(arg.charAt(0) != '-') {
if(cfgtype === undefined) { if(cfgtype === undefined) {
if(cfgtypes[arg] === undefined) if(cfgtypes[arg] === undefined)
usage("unsuppoted cfg-type: " + arg); usage("unsupported cfg-type: " + arg);
cfgtype = arg; cfgtype = arg;
} else { } else {
props.push(arg); props.push(arg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment