projects
/
roojspacker
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
318d9de
)
sync
author
Alan
<alan@roojs.com>
Fri, 16 Feb 2024 06:14:12 +0000
(14:14 +0800)
committer
Alan
<alan@roojs.com>
Fri, 16 Feb 2024 06:14:12 +0000
(14:14 +0800)
roojspacker/ScopeParser.vala
patch
|
blob
|
history
diff --git
a/roojspacker/ScopeParser.vala
b/roojspacker/ScopeParser.vala
index
616fd23
..
ea58d87
100644
(file)
--- a/
roojspacker/ScopeParser.vala
+++ b/
roojspacker/ScopeParser.vala
@@
-700,7
+700,14
@@
namespace JSDOC {
TokenKeyMap val = token.props.get(k);
if (val == null) {
- print("failed to get %s val from token %s\n", k, token.asString());
+ this.packer.logError(
+ Packer.ResultType.warn,
+ this.filename,
+ token.line,
+ "could not get '" + k+ "' but got token " + token.asString()
+ );
+
+ //print("failed to get %s val from token %s\n", k, token.asString());
continue;
}