-
Notifications
You must be signed in to change notification settings - Fork 1
Commit 12e38b9
regex parsing
Results of parsing are continuosly appended to a list (decl and line).
caveat: parsing time is increased
Parsing is done via
* addDecoratedFunctions: calls WM's FunctionList
* old addDecoratedMacros: WM's MacroList did not return line numbers. Deted
Extended Parsing
* new addDecoratedMacros: now returns line numbers for sorting and findcode
* addDecoratedConstants: searches for constant definitions
* addDecoratedStructure: searches for structure definitions and analyzes the containing elements.
addDecoratedConstants:
Definitions support static keyword
addDecoratedMacros: list decoration
* makro subtype after " : "
* makro parameters supported (bad coding)
addDecoratedStructure:
* structure definitions with surrounding {}
* supports all igor7 variables types for structure definitions
* unlike functions: in a structure "Name" of Variable is returned as it is more useful then "Type"
* Structure Variables are sorted alphanumerically if sort is checked
* main functions
** getStructureElements analyzes definitions inside structure/endstructure
** getVariableName analyzes name to return a in definitions like "a = b"
Helper Function
* trimArgument
** removes white spaces
** optionally changes listSparator
bugfix
abort added to getVariableName() in order to track down Nullstring Variable identification in structures1 parent 7a94c20 commit 12e38b9Copy full SHA for 12e38b9
File tree
Expand file treeCollapse file tree
2 files changed
+337
-136
lines changedFilter options
- procedures
Expand file treeCollapse file tree
2 files changed
+337
-136
lines changed
0 commit comments