grumbling
This commit is contained in:
parent
dbbbbf751a
commit
3bda42926b
|
@ -208,8 +208,6 @@ public class ConfigDefinition {
|
||||||
|
|
||||||
// Parse the input files
|
// Parse the input files
|
||||||
{
|
{
|
||||||
// First process yaml files
|
|
||||||
//processYamls(parseState, yamlFiles);
|
|
||||||
|
|
||||||
// Load prepend files
|
// Load prepend files
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,6 +8,9 @@ import java.io.FileNotFoundException;
|
||||||
import java.io.FileOutputStream;
|
import java.io.FileOutputStream;
|
||||||
import java.io.PrintStream;
|
import java.io.PrintStream;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* proposed alternative which does not seem to be covered by any unit tests
|
||||||
|
*/
|
||||||
public class CStructWriter {
|
public class CStructWriter {
|
||||||
public void writeCStructs(ParseState parser, String outputFile) throws FileNotFoundException {
|
public void writeCStructs(ParseState parser, String outputFile) throws FileNotFoundException {
|
||||||
PrintStream ps = new PrintStream(new FileOutputStream(outputFile));
|
PrintStream ps = new PrintStream(new FileOutputStream(outputFile));
|
||||||
|
|
|
@ -8,6 +8,9 @@ import java.io.*;
|
||||||
import java.util.regex.Matcher;
|
import java.util.regex.Matcher;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* proposed alternative which does not seem to be covered by any unit tests
|
||||||
|
*/
|
||||||
public class TsWriter {
|
public class TsWriter {
|
||||||
// matches strings in the form of @@MY_var_123@@
|
// matches strings in the form of @@MY_var_123@@
|
||||||
private static final Pattern VAR = Pattern.compile("@@([a-zA-Z0-9_]+?)@@");
|
private static final Pattern VAR = Pattern.compile("@@([a-zA-Z0-9_]+?)@@");
|
||||||
|
|
Loading…
Reference in New Issue