summaryrefslogtreecommitdiff
path: root/lib/command_parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command_parse.y')
-rw-r--r--lib/command_parse.y4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/command_parse.y b/lib/command_parse.y
index 466e3d3f1f..3337481094 100644
--- a/lib/command_parse.y
+++ b/lib/command_parse.y
@@ -44,6 +44,8 @@
* struct parser_ctx is needed for the bison forward decls.
*/
%code requires {
+ #include "config.h"
+
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
@@ -189,7 +191,7 @@ start:
varname_token: '$' WORD
{
- $$ = XSTRDUP (MTYPE_LEX, $2);
+ $$ = $2;
}
| /* empty */
{