projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2885011
)
JSDOC/TokenStream.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 30 Sep 2015 10:08:05 +0000
(18:08 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 30 Sep 2015 10:08:05 +0000
(18:08 +0800)
JSDOC/TokenStream.vala
patch
|
blob
|
history
diff --git
a/JSDOC/TokenStream.vala
b/JSDOC/TokenStream.vala
index
0e2fdf1
..
1bcbea9
100644
(file)
--- a/
JSDOC/TokenStream.vala
+++ b/
JSDOC/TokenStream.vala
@@
-215,6
+215,9
@@
namespace JSDOC {
if (stop=="") {
stop = Lang.matching(start);
}
+ if (stop == null || stop == "") {
+ throw new JSDOC.TokenStreamError("balance called with invalid stop : %d",howMany);
+
var depth = 0;
var got = [];