summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-01-06 22:28:33 -0700
committerKarl Williamson <public@khwilliamson.com>2013-01-11 11:50:35 -0700
commit80f4111be994e38b20d72125cb8851f563eeeba9 (patch)
tree9ae26bf467c65bbf7843b05ac6d2f0c9d8e42997 /embed.fnc
parentb8de99caf269c77d01411e0f81d45f696af02dd2 (diff)
downloadperl-80f4111be994e38b20d72125cb8851f563eeeba9.tar.gz
Add optional strict mode to grok_bslash_[xo]
This mode croaks on any iffy constructs that currently compile. It is not currently used; documentation of the error messages will be delivered later.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc6
1 files changed, 4 insertions, 2 deletions
diff --git a/embed.fnc b/embed.fnc
index 02ce9b2761..bd8c2cf457 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -738,10 +738,12 @@ Apd |UV |grok_bin |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV
EMsR |char |grok_bslash_c |const char source|const bool utf8|const bool output_warning
EMsR |bool |grok_bslash_o |NN char** s|NN UV* uv \
|NN const char** error_msg \
- |const bool output_warning
+ |const bool output_warning \
+ |const bool strict|const bool utf8
EMiR |bool |grok_bslash_x |NN char** s|NN UV* uv \
|NN const char** error_msg \
- |const bool output_warning
+ |const bool output_warning \
+ |const bool strict|const bool utf8
#endif
Apd |UV |grok_hex |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
Apd |int |grok_number |NN const char *pv|STRLEN len|NULLOK UV *valuep