You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make/FREE/N=(numLines)/T text =StringFromList(p, procText,"\r")
392
386
// help for regex on https://regex101.com/
393
387
re ="^(?i)[[:space:]]*((?:override\s+)?(?:static)?[[:space:]]*(?:Str)?Constant)[[:space:]]+([^=\s]*)\s*=\s*(?:\"(?:[^\"\\\\]|\\\\.)+\"|0[xX][0-9a-fA-F]+|[0-9]+)\s*(?:[\/]{2}.*)?"
394
388
Grep/Q/INDX/E=re text
@@ -418,8 +412,8 @@ Function addDecoratedConstants(module, procedureWithoutModule, declWave, lineWav
Make/FREE/N=(numLines)/T text =StringFromList(p, procText,"\r")
437
425
// regexp: match case insensitive (?i) spaces don't matter. search for window or macro or proc. Macro Name is the the next non-space character followed by brackets () where the arguments are. At the end there might be a colon, specifying the type of macro and a comment beginning with /
438
426
// macro should have no arguments. Handled for backwards compatibility.
439
427
// help for regex on https://regex101.com/
@@ -462,8 +450,8 @@ Function addDecoratedMacros(module, procedureWithoutModule, declWave, lineWave)
debugPrint("no Content in Procedure "+ procedureWithoutModule)
484
-
endif
485
-
486
-
// search code and return wavLineNumber
487
-
Make/FREE/N=(numLines)/T text =StringFromList(p, procText,"\r")
488
467
// regexp: match case insensitive (?i) leading spaces don't matter. optional static statement. search for structure name which contains no spaces. followed by an optional space and nearly anything like inline comments
0 commit comments