Rename def to #def
This commit is contained in:
parent
1c9de73b91
commit
71ee935f7b
@ -237,7 +237,7 @@ char* compile(tSyntaxElement* syntaxtree) {
|
|||||||
|
|
||||||
tSyntaxElement* token = syntaxtree->content.syntax;
|
tSyntaxElement* token = syntaxtree->content.syntax;
|
||||||
|
|
||||||
if (strcmp(token->content.string, "def") == 0) {
|
if (strcmp(token->content.string, "#def") == 0) {
|
||||||
} else if (strcmp(token->content.string, "set") == 0) {
|
} else if (strcmp(token->content.string, "set") == 0) {
|
||||||
|
|
||||||
compile_enter_tag(&result);
|
compile_enter_tag(&result);
|
||||||
|
@ -66,7 +66,7 @@ bool process_find(tSyntaxElement* tree, tProcessingData** p_pdata) {
|
|||||||
|
|
||||||
tSyntaxElement* token = tree->content.syntax;
|
tSyntaxElement* token = tree->content.syntax;
|
||||||
|
|
||||||
if (strcmp(token->content.string,"def") == 0 &&
|
if (strcmp(token->content.string,"#def") == 0 &&
|
||||||
token->next != NULL &&
|
token->next != NULL &&
|
||||||
token->next->next != NULL) {
|
token->next->next != NULL) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user