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:
ee36fce
)
JSDOC/TokenReader.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 22 Sep 2015 09:33:58 +0000
(17:33 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 22 Sep 2015 09:33:58 +0000
(17:33 +0800)
JSDOC/TokenReader.vala
patch
|
blob
|
history
diff --git
a/JSDOC/TokenReader.vala
b/JSDOC/TokenReader.vala
index
4ec980b
..
0619b93
100644
(file)
--- a/
JSDOC/TokenReader.vala
+++ b/
JSDOC/TokenReader.vala
@@
-474,7
+474,7
@@
namespace JSDOC {
*/
public bool read_numb (TokenStream stream, TokenArray tokens)
{
*/
public bool read_numb (TokenStream stream, TokenArray tokens)
{
- if (stream.look() ==
=
"0" && stream.look(1) == "x") {
+ if (stream.look() == "0" && stream.look(1) == "x") {
return this.read_hex(stream, tokens);
}
return this.read_hex(stream, tokens);
}
@@
-484,7
+484,7
@@
namespace JSDOC {
found += stream.next();
}
found += stream.next();
}
- if (found ==
=
"") {
+ if (found == "") {
return false;
}
if (GLib.Regex.match_simple("^0[0-7]", found)) {
return false;
}
if (GLib.Regex.match_simple("^0[0-7]", found)) {
@@
-513,7
+513,7
@@
namespace JSDOC {
}
return false;
}
return false;
- }
,
+ }
/**
@returns {Boolean} Was the token found?
/**
@returns {Boolean} Was the token found?
@@
-545,7
+545,7
@@
namespace JSDOC {
if (stream.look() == "/") {
regex += stream.next();
if (stream.look() == "/") {
regex += stream.next();
- while (GLib.Regex.match_simple("[gmi]", stream.look()) {
+ while (GLib.Regex.match_simple("[gmi]", stream.look())
)
{
regex += stream.next();
}
regex += stream.next();
}