]> granicus.if.org Git - re2c/commitdiff
- Fixed #1708378 segfault in actions.cc.
authorhelly <helly@642ea486-5414-0410-9d7f-a0204ed87703>
Thu, 26 Apr 2007 23:11:22 +0000 (23:11 +0000)
committerhelly <helly@642ea486-5414-0410-9d7f-a0204ed87703>
Thu, 26 Apr 2007 23:11:22 +0000 (23:11 +0000)
re2c/CHANGELOG
re2c/htdocs/index.html
re2c/scanner.h

index f41d3e410fcb94af96416c048397ca996d2b1e18..2acd3de0dfe3f94f79dc15ad07113f9840adb3e6 100644 (file)
@@ -1,12 +1,14 @@
 Version 0.13.0 (2007-??-??)
 ---------------------------
-- Add -c and -t to generate scanners with (f)lex-like condition support.
-- Fix issue with short form of switches and parameter if not first switch.
+- Added -c and -t to generate scanners with (f)lex-like condition support.
+- Fixed issue with short form of switches and parameter if not first switch.
+- Fixed #1708378 segfault in actions.cc.
 
 Version 0.12.0 (2007-??-??)
 ---------------------------
-- Fix issue with short form of switches and parameter if not first switch.
 - Re-release of 0.11.3 as new stable branch.
+- Fixed isse with short form of switches and parameter if not first switch.
+- Fixed #1708378 segfault in actions.cc.
 
 Version 0.11.3 (2007-04-01)
 ---------------------------
index 8cc2339bb8053e79c5d7bbb397e2c6f15ab0bcd8..f2567fa65a4bcf3a2de1d2773fc668215a65d4de 100755 (executable)
@@ -81,13 +81,15 @@ fixes which were incorporated. <a href=
 <h1>Changelog</h1>
 <h2>2007-??-??: 0.13.0</h2>
 <ul>
-<li>Add -c and -t to generate scanners with (f)lex-like condition support.</li>
-<li>Fix issue with short form of switches and parameter if not first switch.</li>
+<li>Added -c and -t to generate scanners with (f)lex-like condition support.</li>
+<li>Fixed issue with short form of switches and parameter if not first switch.</li>
+<li>Fixed #1708378 segfault in actions.cc.</li>
 </ul>
 <h2>2007-??-??: 0.12.0</h2>
 <ul>
-<li>Fix issue with short form of switches and parameter if not first switch.</li>
 <li>Re-release of 0.11.3 as new stable branch.</li>
+<li>Fixed issue with short form of switches and parameter if not first switch.</li>
+<li>Fixed #1708378 segfault in actions.cc.</li>
 </ul>
 <h2>2007-04-01: 0.11.3</h2>
 <ul>
index cb43e8dc5fe1297b7e6041a7cd6766e8c67c2091..a15e96d64fee56d519bd535bea9d0be17d50d3b3 100644 (file)
@@ -67,7 +67,7 @@ inline SubStr Scanner::token() const
 
 inline uint Scanner::xlat(uint c) const
 {
-       return re2c::wFlag ? c : re2c::xlat[c];
+       return re2c::wFlag ? c : re2c::xlat[c & 0xFF];
 }
 
 } // end namespace re2c