mirror of
https://github.com/irmen/prog8.git
synced 2026-04-20 11:17:01 +00:00
Merge branch 'master' into codegen-on-new-ast
# Conflicts: # compiler/src/prog8/compiler/astprocessing/IntermediateAstMaker.kt
This commit is contained in:
@@ -135,12 +135,6 @@ class PtNop(position: Position): PtNode(position) {
|
||||
}
|
||||
|
||||
|
||||
class PtScopeVarsDecls(position: Position): PtNode(position) {
|
||||
override fun printProperties() {}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// find the parent node of a specific type or interface
|
||||
// (useful to figure out in what namespace/block something is defined, etc.)
|
||||
inline fun <reified T> findParentNode(node: PtNode): T? {
|
||||
|
||||
Reference in New Issue
Block a user