← Back to team overview

zorba-coders team mailing list archive

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

 

Paul J. Lucas has proposed merging lp:~paul-lucas/zorba/pjl-misc into lp:zorba.

Commit message:
Now initializing char_range_begin_cooked.

Requested reviews:
  Paul J. Lucas (paul-lucas)

For more details, see:
https://code.launchpad.net/~paul-lucas/zorba/pjl-misc/+merge/150626

Now initializing char_range_begin_cooked.
-- 
https://code.launchpad.net/~paul-lucas/zorba/pjl-misc/+merge/150626
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/util/regex.cpp'
--- src/util/regex.cpp	2013-02-26 06:50:40 +0000
+++ src/util/regex.cpp	2013-02-26 17:47:27 +0000
@@ -135,7 +135,7 @@
   char c;                               // current (raw) XQuery char
   char c_cooked;                        // current cooked XQuery char
   char prev_c_cooked = 0;               // previous c_cooked
-  char char_range_begin_cooked;         // the 'a' in [a-b]
+  char char_range_begin_cooked = 0;     // the 'a' in [a-b]
 
   bool got_backslash = false;
   int  got_quantifier = 0;


Follow ups