This commit is contained in:
parent
30c91040a2
commit
f48d568be7
|
@ -3816,4 +3816,3 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00"
|
||||||
#else
|
#else
|
||||||
addTool = afrTableGenerator, "AFR Table Generator", afrTableTbl
|
addTool = afrTableGenerator, "AFR Table Generator", afrTableTbl
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Binary file not shown.
|
@ -23,6 +23,8 @@ public class ConfigField {
|
||||||
|
|
||||||
private static final Pattern DIRECTIVE = Pattern.compile("#(if\\s" + namePattern + "|else|elif\\s\" + namePattern + \"|endif)");
|
private static final Pattern DIRECTIVE = Pattern.compile("#(if\\s" + namePattern + "|else|elif\\s\" + namePattern + \"|endif)");
|
||||||
|
|
||||||
|
// we used to have a weird feature of only handing comments starting with + as tooltips
|
||||||
|
// very unclear what was the value of it. todo; remove all of those and kill this tag?
|
||||||
public static final char TS_COMMENT_TAG = '+';
|
public static final char TS_COMMENT_TAG = '+';
|
||||||
public static final String VOID_NAME = "";
|
public static final String VOID_NAME = "";
|
||||||
public static final String BOOLEAN_T = "boolean";
|
public static final String BOOLEAN_T = "boolean";
|
||||||
|
|
|
@ -41,7 +41,7 @@ public class TSProjectConsumer implements ConfigurationConsumer {
|
||||||
return tsPosition;
|
return tsPosition;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (configField.getComment() != null && configField.getComment().startsWith(ConfigField.TS_COMMENT_TAG + "")) {
|
if (configField.getComment() != null && configField.getComment().trim().length() > 0) {
|
||||||
settingContextHelp.append("\t" + nameWithPrefix + " = \"" + configField.getCommentContent() + "\"" + EOL);
|
settingContextHelp.append("\t" + nameWithPrefix + " = \"" + configField.getCommentContent() + "\"" + EOL);
|
||||||
}
|
}
|
||||||
state.variableRegistry.register(nameWithPrefix + "_offset", tsPosition);
|
state.variableRegistry.register(nameWithPrefix + "_offset", tsPosition);
|
||||||
|
|
Loading…
Reference in New Issue