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:
parent
234648231b
commit
377f5eaa23
|
|
@ -253,7 +253,8 @@ keywords (include|define|undef|ifdef|ifndef|else|elseif|endif)
|
||||||
* string.
|
* string.
|
||||||
*/
|
*/
|
||||||
\" { string_enter = YY_START; BEGIN(CSTRING); ECHO; }
|
\" { string_enter = YY_START; BEGIN(CSTRING); ECHO; }
|
||||||
<CSTRING>\\\" { ECHO; }
|
<CSTRING>\\\" |
|
||||||
|
<CSTRING>\\` { ECHO; }
|
||||||
<CSTRING>\r\n |
|
<CSTRING>\r\n |
|
||||||
<CSTRING>\n\r |
|
<CSTRING>\n\r |
|
||||||
<CSTRING>\n |
|
<CSTRING>\n |
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue