comparison libiberty/regex.c @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents a06113de4d67
children b7f97abdc517
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
5908 longest match, try backtracking. */ 5908 longest match, try backtracking. */
5909 if (d != end_match_2) 5909 if (d != end_match_2)
5910 { 5910 {
5911 /* 1 if this match ends in the same string (string1 or string2) 5911 /* 1 if this match ends in the same string (string1 or string2)
5912 as the best previous match. */ 5912 as the best previous match. */
5913 boolean same_str_p = (FIRST_STRING_P (match_end) 5913 boolean same_str_p;
5914 == MATCHING_IN_FIRST_STRING); 5914
5915 /* 1 if this match is the best seen so far. */ 5915 /* 1 if this match is the best seen so far. */
5916 boolean best_match_p; 5916 boolean best_match_p;
5917
5918 same_str_p = (FIRST_STRING_P (match_end)
5919 == MATCHING_IN_FIRST_STRING);
5917 5920
5918 /* AIX compiler got confused when this was combined 5921 /* AIX compiler got confused when this was combined
5919 with the previous declaration. */ 5922 with the previous declaration. */
5920 if (same_str_p) 5923 if (same_str_p)
5921 best_match_p = d > match_end; 5924 best_match_p = d > match_end;