mirror of https://gitlab.com/basile.b/dexed.git
cesyms, cetodo, avoid TLS variables
This commit is contained in:
parent
977374d00f
commit
c3e26c9df3
|
@ -160,7 +160,7 @@ class SymbolListBuilder : ASTVisitor
|
|||
Symbol * parent;
|
||||
|
||||
// for some reason (?) the .name of a (static Symbol* []) item was lost
|
||||
static Symbol[] illFormed;
|
||||
__gshared static Symbol[] illFormed;
|
||||
|
||||
size_t count;
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ private struct TodoItem
|
|||
* They must match the published member of the widget-side class TTodoItem.
|
||||
*/
|
||||
private static enum TodoField {filename, line, text, category, assignee, priority, status}
|
||||
private static string[TodoField] fFieldNames;
|
||||
private __gshared static string[TodoField] fFieldNames;
|
||||
private string[TodoField] fFields;
|
||||
|
||||
static this()
|
||||
|
@ -99,7 +99,7 @@ private struct TodoItem
|
|||
* Params:
|
||||
* LfmString = the string containing the LFM script.
|
||||
*/
|
||||
@safe public void serialize(ref Appender!string lfmApp)
|
||||
public void serialize(ref Appender!string lfmApp)
|
||||
{
|
||||
lfmApp.put(" \r item\r");
|
||||
foreach(member; EnumMembers!TodoField)
|
||||
|
|
Loading…
Reference in New Issue