Index: compile_rules.py ================================================================== --- compile_rules.py +++ compile_rules.py @@ -563,12 +563,12 @@ else: lSentenceRules.append(aRule) lSentenceRulesJS.append(jsconv.pyRuleToJS(aRule, dJSREGEXES, sWORDLIMITLEFT)) # creating file with all functions callable by rules - print(" creating callables...") - sPyCallables = "# generated code, do not edit\n" + print(" creating callables for regex rules...") + sPyCallables = "" sJSCallables = "" for sFuncName, sReturn in lFUNCTIONS: if sFuncName.startswith("_c_"): # condition sParams = "s, sx, m, dTokenPos, sCountry, bCondMemo" elif sFuncName.startswith("_m_"): # message Index: compile_rules_graph.py ================================================================== --- compile_rules_graph.py +++ compile_rules_graph.py @@ -415,12 +415,12 @@ print("\nGRAPH:", sGraphName) for k, v in dAllGraph[sGraphName].items(): print(k, "\t", v) # creating file with all functions callable by rules - print(" creating callables...") - sPyCallables = "# generated code, do not edit\n" + print(" creating callables for graph rules...") + sPyCallables = "" sJSCallables = "" for sFuncName, sReturn in dFUNCTIONS.items(): if sFuncName.startswith("_g_cond_"): # condition sParams = "lToken, nTokenOffset, nLastToken, sCountry, bCondMemo, dTags, sSentence, sSentence0" elif sFuncName.startswith("g_msg_"): # message