summaryrefslogtreecommitdiffstats
path: root/lexer
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-12-19 08:10:33 +0100
committerDave Davenport <qball@gmpclient.org>2016-12-19 08:10:33 +0100
commitd8b877147c6340835eea70b62bffddc3a5b6f987 (patch)
treee3511fa525e507f3bb8e3588be61d7a42ff38cd9 /lexer
parenta8a8906adc83cf6d0c32cb158fe4d6880717762a (diff)
Fix cleanup lexer, add properties to theme documentation.
Diffstat (limited to 'lexer')
-rw-r--r--lexer/theme-lexer.l4
1 files changed, 1 insertions, 3 deletions
diff --git a/lexer/theme-lexer.l b/lexer/theme-lexer.l
index beebf1f3..aa1841e1 100644
--- a/lexer/theme-lexer.l
+++ b/lexer/theme-lexer.l
@@ -35,7 +35,6 @@ YY_LLOC_START
%}
%{
if ( queue == NULL ){
-printf("queue create\n");
queue = g_queue_new ( );
}
%}
@@ -153,9 +152,8 @@ printf("queue create\n");
};
<INITIAL><<EOF>> {
- yyterminate();
- printf("Queue free: %d\n", g_queue_get_length(queue));;
g_queue_free ( queue );
+ yyterminate();
}
<*>. {
fprintf(stderr, "Invalid character: '%c'\n", *yytext);