]> Shamusworld >> Repos - rmac/blobdiff - token.c
When expanding macro parameters ("\{param_name}") inside strings don't warn about...
[rmac] / token.c
diff --git a/token.c b/token.c
index cd6b9c61269442bc1ce14692a15aed04881890e4..4acb8cb3c2083c1d60bb585d8e1082495dea4422 100644 (file)
--- a/token.c
+++ b/token.c
@@ -1287,6 +1287,10 @@ dostring:
                                                case '\\':
                                                        c = '\\';
                                                        break;
+                                               case '{':
+                                                       // If we're evaluating a macro
+                                                       // this is valid because it's
+                                                       // a parameter expansion
                                                case '!':
                                                        // If we're evaluating a macro
                                                        // this is valid and expands to