Add \' as a string constant to block macro expansion.

This patch allows you to type "The \`define is `value" and not have
Icarus try to expand `define as a macro.
This commit is contained in:
Cary R 2008-03-11 18:47:41 -07:00 committed by Stephen Williams
parent 234648231b
commit 377f5eaa23
1 changed files with 2 additions and 1 deletions

View File

@ -253,7 +253,8 @@ keywords (include|define|undef|ifdef|ifndef|else|elseif|endif)
* string.
*/
\" { string_enter = YY_START; BEGIN(CSTRING); ECHO; }
<CSTRING>\\\" { ECHO; }
<CSTRING>\\\" |
<CSTRING>\\` { ECHO; }
<CSTRING>\r\n |
<CSTRING>\n\r |
<CSTRING>\n |