Merge lp:~paul-lucas/zorba/pjl-misc into lp:zorba

Proposed by Paul J. Lucas
Status: Merged
Approved by: Matthias Brantner
Approved revision: 11086
Merged at revision: 11261
Proposed branch: lp:~paul-lucas/zorba/pjl-misc
Merge into: lp:zorba
Diff against target: 24 lines (+2/-1)
2 files modified
src/util/ascii_util.h (+1/-0)
src/util/regex.cpp (+1/-1)
To merge this branch: bzr merge lp:~paul-lucas/zorba/pjl-misc
Reviewer Review Type Date Requested Status
Matthias Brantner Approve
Paul J. Lucas Approve
Review via email: mp+150626@code.launchpad.net

Commit message

Now initializing char_range_begin_cooked.

Description of the change

Now initializing char_range_begin_cooked.

To post a comment you must log in.
Revision history for this message
Paul J. Lucas (paul-lucas) :
review: Approve
lp:~paul-lucas/zorba/pjl-misc updated
11086. By Paul J. Lucas

Comment fix.

Revision history for this message
Matthias Brantner (matthias-brantner) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job pjl-misc-2013-02-26T20-22-44.852Z is finished. The final status was:

All tests succeeded!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/util/ascii_util.h'
--- src/util/ascii_util.h 2012-12-18 18:45:59 +0000
+++ src/util/ascii_util.h 2013-02-26 18:15:27 +0000
@@ -777,6 +777,7 @@
777 *777 *
778 * @tparam StringType The string type.778 * @tparam StringType The string type.
779 * @param s The string.779 * @param s The string.
780 * @param chars The characters to trim.
780 */781 */
781template<class StringType> inline782template<class StringType> inline
782void trim_start( StringType &s, char const *chars ) {783void trim_start( StringType &s, char const *chars ) {
783784
=== modified file 'src/util/regex.cpp'
--- src/util/regex.cpp 2013-02-26 06:50:40 +0000
+++ src/util/regex.cpp 2013-02-26 18:15:27 +0000
@@ -135,7 +135,7 @@
135 char c; // current (raw) XQuery char135 char c; // current (raw) XQuery char
136 char c_cooked; // current cooked XQuery char136 char c_cooked; // current cooked XQuery char
137 char prev_c_cooked = 0; // previous c_cooked137 char prev_c_cooked = 0; // previous c_cooked
138 char char_range_begin_cooked; // the 'a' in [a-b]138 char char_range_begin_cooked = 0; // the 'a' in [a-b]
139139
140 bool got_backslash = false;140 bool got_backslash = false;
141 int got_quantifier = 0;141 int got_quantifier = 0;

Subscribers

People subscribed via source and target branches