solpl 2.5.7__tar.gz → 2.5.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {solpl-2.5.7/solpl.egg-info → solpl-2.5.8}/PKG-INFO +1 -1
- {solpl-2.5.7 → solpl-2.5.8}/interpreter/sol.py +1 -1
- {solpl-2.5.7 → solpl-2.5.8}/pyproject.toml +1 -1
- {solpl-2.5.7 → solpl-2.5.8/solpl.egg-info}/PKG-INFO +1 -1
- {solpl-2.5.7 → solpl-2.5.8}/LICENSE +0 -0
- {solpl-2.5.7 → solpl-2.5.8}/README.md +0 -0
- {solpl-2.5.7 → solpl-2.5.8}/setup.cfg +0 -0
- {solpl-2.5.7 → solpl-2.5.8}/solpl.egg-info/SOURCES.txt +0 -0
- {solpl-2.5.7 → solpl-2.5.8}/solpl.egg-info/dependency_links.txt +0 -0
- {solpl-2.5.7 → solpl-2.5.8}/solpl.egg-info/entry_points.txt +0 -0
- {solpl-2.5.7 → solpl-2.5.8}/solpl.egg-info/top_level.txt +0 -0
|
@@ -224,7 +224,7 @@ class SolInterpreter:
|
|
|
224
224
|
line = self.lines[pc]
|
|
225
225
|
if "(" in line and ")" in line and "main" not in line and "end" not in line and "->" not in line and ">>" not in line and "?" not in line and not line.startswith(("if ", "while ", "for ", "elseif", "else")):
|
|
226
226
|
parts = line.split("(")
|
|
227
|
-
self.functions[parts[0].strip()] = {"start_pc": pc + 1, "params": [p.strip() for p in parts[1].replace(")", "").split(",")] if parts[1].replace(")", "").strip() else []
|
|
227
|
+
self.functions[parts[0].strip()] = {"start_pc": pc + 1, "params": [p.strip() for p in parts[1].replace(")", "").split(",")] if parts[1].replace(")", "").strip() } else []
|
|
228
228
|
continue
|
|
229
229
|
elif "{" in line: pc = self._parse_struct(pc)
|
|
230
230
|
pc += 1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|