ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6cdcaf846b0df5747c2330c14b56dc000ce280d9

commit 6cdcaf846b0df5747c2330c14b56dc000ce280d9
Author: Andy Williams <[email protected]>
Date:   Fri Dec 8 10:59:43 2017 +0000

    gendoc: Update to latest eolian syntax
---
 src/scripts/elua/apps/docgen/doctree.lua | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/scripts/elua/apps/docgen/doctree.lua 
b/src/scripts/elua/apps/docgen/doctree.lua
index 857165f0e1..3d761dd53a 100644
--- a/src/scripts/elua/apps/docgen/doctree.lua
+++ b/src/scripts/elua/apps/docgen/doctree.lua
@@ -9,6 +9,7 @@ local dutil = require("docgen.util")
 local writer
 
 local M = {}
+local eos = eolian:new()
 
 local get_cache = function(o, nm)
     local ret = o[nm]
@@ -1501,26 +1502,26 @@ M.DocTokenizer = Node:clone {
 
 M.scan_directory = function(dir)
     if not dir then
-        if not eolian.system_directory_scan() then
+        if not eos:system_directory_scan() then
             error("failed scanning system directory")
         end
         return
     end
-    if not eolian.directory_scan(dir) then
+    if not eos:directory_scan(dir) then
         error("failed scanning directory: " .. dir)
     end
 end
 
 M.parse = function(st)
-    if not eolian.all_eot_files_parse() then
+    if not eos:all_eot_files_parse() then
         error("failed parsing eo type files")
     end
     if st and st:match("%.") then
-        if not eolian.file_parse(st:gsub("%.", "_"):lower() .. ".eo") then
+        if not eos:file_parse(st:gsub("%.", "_"):lower() .. ".eo") then
             error("failed parsing eo file")
         end
     else
-        if not eolian.all_eo_files_parse() then
+        if not eos:all_eo_files_parse() then
             error("failed parsing eo files")
         end
     end

-- 


Reply via email to