'\?' is a valid escape character defined by ANSI C. Its value is '?'.
PATCH 1/1 '\?' is a valid escape character defined by ANSI C. Its value is '?'.
Signed-off-by Michael Stefaniuc <[email protected]>
--- tokenize.c | 2 ++ validation/escapes.c | 3 +++ 2 files changed, 5 insertions(+), 0 deletions(-) create mode 100644 validation/escapes.c
tokenize.c +2 -0
@@ -470,6 +470,8 @@ static int escapechar(int first, int type, stream_t *stream, int *valp)break ;case '\\' :break ; +case '?' : +break ;case '\'' :break ;case '"' :
validation/escapes.c new file +3 -0
@@ -0,0 +1,3 @@ +int e[] = {'\'' ,'\"' ,'\?' ,'\\' , +'\a' ,'\b' ,'\f' ,'\n' ,'\r' ,'\t' ,'\v' , }; +char *s ="\'\"\?\\ \a\b\f\n\r\t\v" ;
Signature · 9 lines
1.5.0.6 -- Michael Stefaniuc Tel.: +49-711-96437-199 Sr. Network Engineer Fax.: +49-711-96437-111 Red Hat GmbH Email: [email protected] Hauptstaetterstr. 58 http://www.redhat.de/ D-70178 Stuttgart
Josh Triplett
AppliedApplied; thanks.
- Josh Triplett