#154 Unlimited macro string literal length, single-quoted strings

open
nobody
None
5
2006-11-17
2006-11-17
No

String literals are scanned twice, firstly to calculate their space requirements, secondly to read their contents into allocated memory.

Separate string literals that follow one another are combined into one, avoiding run-time concatenation of the pieces. Also single-quoted string literals are allowed, within which backslash ('\') has no special meaning (so you can't include a single-quote in a single-quoted string).

Note that a double-quoted string can be continued over multiple lines by ending each line but the last with a backslash, like in C.

Discussion

  • Tony Balinski

    Tony Balinski - 2006-11-17
    • summary: Unlimited macro string literal length and single-quoted stri --> Unlimited macro string literal length, single-quoted strings
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks