File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,6 @@ def __init__(self, scadType):
1515 def getType (self ):
1616 return self .scadType
1717
18- class ScadUse (ScadObject ):
19- def __init__ (self , filename ):
20- super ().__init__ (ScadTypes .USE )
21- self .filename = filename
22-
23- class ScadInclude (ScadObject ):
24- def __init__ (self , filename ):
25- super ().__init__ (ScadTypes .INCLUDE )
26- self .filename = filename
27-
2818class ScadGlobalVar (ScadObject ):
2919 def __init__ (self , name ):
3020 super ().__init__ (ScadTypes .GLOBAL_VAR )
Original file line number Diff line number Diff line change @@ -254,17 +254,13 @@ def parseFile(scadFile):
254254 lexer .filename = scadFile
255255 parser = yacc .yacc ()
256256
257- uses = []
258- includes = []
259257 modules = []
260258 functions = []
261259 globalVars = []
262260
263261 appendObject = { ScadTypes .MODULE : lambda x : modules .append (x ),
264262 ScadTypes .FUNCTION : lambda x : functions .append (x ),
265263 ScadTypes .GLOBAL_VAR : lambda x : globalVars .append (x ),
266- ScadTypes .USE : lambda x : uses .append (x ),
267- ScadTypes .INCLUDE : lambda x : includes .append (x ),
268264 }
269265
270266 from pathlib import Path
You can’t perform that action at this time.
0 commit comments