summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dtc-lexer.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/dtc-lexer.l b/dtc-lexer.l
index 58fe27c..1a16cae 100644
--- a/dtc-lexer.l
+++ b/dtc-lexer.l
@@ -29,8 +29,6 @@ WS [ \t\n]
REFCHAR ({PROPCHAR}|{UNITCHAR}|[/@])
-%%
-
%{
#include "dtc.h"
@@ -46,6 +44,8 @@ REFCHAR ({PROPCHAR}|{UNITCHAR}|[/@])
%}
+%%
+
\"[^"]*\" {
DPRINT("String: %s\n", yytext);
yylval.data = data_copy_escape_string(yytext+1,