@jdeighan/coffee-utils 2.1.11 → 2.1.12
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/debug_utils.coffee +2 -2
- package/src/debug_utils.js +2 -2
package/package.json
CHANGED
package/src/debug_utils.coffee
CHANGED
@@ -126,7 +126,7 @@ export debug = (lArgs...) ->
|
|
126
126
|
\s*
|
127
127
|
enter
|
128
128
|
\s+
|
129
|
-
([A-Za-z_][A-Za-z0-9_]*)
|
129
|
+
([A-Za-z_][A-Za-z0-9_\.]*)
|
130
130
|
///))
|
131
131
|
entering = true
|
132
132
|
curFunc = lMatches[1]
|
@@ -136,7 +136,7 @@ export debug = (lArgs...) ->
|
|
136
136
|
.*
|
137
137
|
from
|
138
138
|
\s+
|
139
|
-
([A-Za-z_][A-Za-z0-9_]*)
|
139
|
+
([A-Za-z_][A-Za-z0-9_\.]*)
|
140
140
|
///))
|
141
141
|
returning = true
|
142
142
|
curFunc = lMatches[1]
|
package/src/debug_utils.js
CHANGED
@@ -130,10 +130,10 @@ export var debug = function(...lArgs) {
|
|
130
130
|
// --- determine if we're entering or returning from a function
|
131
131
|
entering = returning = false;
|
132
132
|
curFunc = undef;
|
133
|
-
if ((lMatches = str.match(/^\s*enter\s+([A-Za-z_][A-Za-z0-9_]*)/))) {
|
133
|
+
if ((lMatches = str.match(/^\s*enter\s+([A-Za-z_][A-Za-z0-9_\.]*)/))) {
|
134
134
|
entering = true;
|
135
135
|
curFunc = lMatches[1];
|
136
|
-
} else if ((lMatches = str.match(/^\s*return.*from\s+([A-Za-z_][A-Za-z0-9_]*)/))) {
|
136
|
+
} else if ((lMatches = str.match(/^\s*return.*from\s+([A-Za-z_][A-Za-z0-9_\.]*)/))) {
|
137
137
|
returning = true;
|
138
138
|
curFunc = lMatches[1];
|
139
139
|
}
|