[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-bidi] Re: Please help with the bidi Emacs



> From: "ahmad khalifa" <ahmadkhalifa at hotmail dot com>
> Date: Sat, 24 Apr 2004 20:53:16 +0000
> 
> well, i took a quick look at bidi_resolve_neutral() (from the stack above) , 
> and this block doesnt really look nice. needs some more parenthesis i think.
> 
>   if (!(type == STRONG_R
> 	|| type == STRONG_L
> 	|| type == WEAK_BN
> 	|| type == WEAK_EN
> 	|| type == WEAK_AN
> 	|| type == NEUTRAL_B
> 	|| type == NEUTRAL_S
> 	|| type == NEUTRAL_WS
> 	|| type == NEUTRAL_ON))
>     abort ();

Can you tell why you think it needs more parentheses?  It basically
says

  if (!(expression))
    abort ();

What's wrong with that, and why would an additional pair of enclosing
parens fix that?

> if i could compile it i could help, but i cant :(

Thanks for trying, anyway.

> and "make bootstrap" gives a big 27 MB file in /src and this error
> 
> Finding pointers to doc strings...
> Finding pointers to doc strings...done
> Dumping under names emacs and emacs-22.0.0
> make[1]: *** [bootstrap-emacs] Segmentation fault

What OS and what compiler/version is that?