[Omake] 0.9.9 mk/make_config has a bunch excessive quotes

Jason Hickey jyh at cs.caltech.edu
Wed Jul 5 09:14:52 PDT 2006


Erick Tryzelaar wrote:
> I'm guessing these weren't done on purpose. The lines are like this:
> 
>    private.CONFIG = $"""\
> """"""""# Main OMake configuration file.
> """"""""open mk/defaults
> """"""""

Actually, these were done on purpose.  The problem we were finding was 
that string got hard to read, especially long ones that contain OMake code.

TEXT = $"""
...
TEXT = $(...)
...
"""

So these extra quotes were added as a way to mark explicitly that the 
text is part of a string.  They are discarded by the lexer.

Jason

-- 
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