summaryrefslogtreecommitdiff
path: root/dquote_static.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix up \cX for 5.14Karl Williamson2011-02-091-10/+18
| | | | | | | | | | | | | | | | | | | | | | | Throughout 5.13 there was temporary code to deprecate and forbid certain values of X following a \c in qq strings. This patch fixes this to the final 5.14 semantics. These are: 1) a utf8 non-ASCII character will croak. This is the same behavior as pre-5.13, but it gives a correct error message, rather than the malformed utf8 message previously. 2) \c{ and \cX where X is above ASCII will generate a deprecated message. The intent is to remove these capabilities in 5.16. The original agreement was to croak on above ASCII, but that does violate our stability policy, so I'm deprecating it instead. 3) A non-deprecated warning is generated for all other \cX; this is the same as throughout the 5.13 series. I did not have the tuits to use \c{} as I had planned in 5.14, but \N{} can be used instead.
* dquote_static.c: Add commentKarl Williamson2011-02-091-1/+1
|
* Move grok_bslash_c to dquote.c and make staticKarl Williamson2011-02-091-0/+41
| | | | No other changes were made
* Move grok_blsash_o and make staticKarl Williamson2011-02-091-0/+80
| | | | | | This function is only used in the same places as dquote_static.c is used, so move it there, and we won't have to worry about changing its API will break something. No other changes made
* S_regcurly needs thread context.Craig A. Berry2011-01-291-1/+1
| | | | | | | Actually I can't see any reason it actually *needs* thread context, but 881ffab65cdbee2f146ada660e5593bad2e71472 added thread context to the prototype without adding it to the function definition, thus breaking builds with -Dusethreads.
* Use embed.pl inline capabilities for regcurlyKarl Williamson2011-01-291-12/+6
| | | | Change the regcurly definition to use the new inline abilities.
* Small efficiency nit for regcurly()Karl Williamson2010-10-031-3/+4
| | | | As previously written, a test was executed unnecessarily
* Extract regcurly as a static inline function.Andy Dougherty2010-09-221-0/+51
This patch extracts regcurly from regcomp.c and converts it to a static inline function in a new file dquote_static.c that is now #included by regcomp.c and toke.c. This change will require 'make regen'.