[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #35063] Suggest conventional $(%XX) syntax for special characters
From: |
Eldar Abusalimov |
Subject: |
[bug #35063] Suggest conventional $(%XX) syntax for special characters |
Date: |
Sat, 28 Jan 2012 20:06:17 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Ubuntu/11.04 Chromium/14.0.835.202 Chrome/14.0.835.202 Safari/535.1 |
Follow-up Comment #5, bug #35063 (project make):
Well, when saying "altering the basic syntax" I mean changing the semantics of
'$(...)' notation, which currently stands for expanding a variable reference
or invoking a built-in function.
Personally for me it is unclear what '$(%20)' or '$(.%20)' means. If we
perceive it just as a variable reference, then what would '$(value %20)' or
'$(call %20)' return? I guess, it still should be a space. Also, what's about
computed references, like '$(%$(twenty))', or the one I told about in my
previous comment? In such case the problem can't be solved only by the
tokenizer and requires '%XX' special variables to be defined.
Finally, encoding/decoding multiple characters at once becomes a pain. For
example, how do I properly unescape 'Hello%2C%20world%21' string (assuming it
is computed somewhere, that is not literal)?
However, I agree, that Paul is to make the final decision.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35063>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/