[Omake] handling of white space

Jason Hickey jyh at cs.caltech.edu
Thu Aug 16 08:53:55 PDT 2007


Achim,

This is intended.  Non-leading whitespace in a definition is  
significant, so if you write the definition even without the comment,  
you'll get the whitespace.

    # The following line has trailing whitespace
    TEST = test
    echo $"+$(TEST)+"

Prints

    +test   +

What version were you using before?  It would be interesting to see  
where/thy this changed.

Jason


On Aug 16, 2007, at 2:06 AM, Achim Blumensath wrote:

> Hello,
>
> I've installed omake 0.9.8.5-3 yesterday and noticed that the handling
> of white space has changed. The OMakefile
>
>   TEST = test    # some text
>
>   .DEFAULT:
>     echo "+$(TEST)+"
>
> will output
>
>   +test    +
>
> instead of
>
>   +test+
>
> Is this intended behaviour?
>
> Achim
> -- 
> ______________________________________________________________________ 
> __
>                                                               |  
> \_____/ |
>    Achim Blumensath                                          \O/  
> \___/\ |
>    TU Darmstadt                                              =o=   
> \ /\ \|
>    www.mathematik.tu-darmstadt.de/~blumensath                /"\    
> o----|
> ____________________________________________________________________ 
> \___|
> _______________________________________________
> Omake mailing list
> Omake at metaprl.org
> https://lists.metaprl.org/mailman/listinfo/omake

--
Jason Hickey                  http://www.cs.caltech.edu/~jyh
Caltech Computer Science      Tel: 626-395-6568 FAX: 626-792-4257





More information about the Omake mailing list