* Refactor SymbolTable to improve architecture * Fix PABCSystem function calls in SPython standard modules * Fix names search in SymbolTable and CollectNamesFromUsedUnits in Compiler * Add SemanticRulesConstants.SymbolTableCaseSensitive setting in pcu reader * Fix case sensitive search in DSSymbolTable class * Add case sensitive search test cases for SPython * Leave only one dictionary in SymbolsDictionary class * Refactor Find function in SymbolsDictionary * Fix math.pys module * Fix str.pys * Imrove Find method in SymbolsDictionary * DefaultIfEmpty was wrong - need to use Any()
6 lines
140 B
Plaintext
6 lines
140 B
Plaintext
from case_sensitive_names_search_helper import *
|
|
from PABCSystem import Assert
|
|
|
|
Assert(FUNC(0) == 'integer')
|
|
Assert(func(0.0) == 'real')
|