Revert "Remove leading underscores from identifiers directly in lexer"
[babeltrace.git] / formats / ctf / metadata / ctf-lexer.l
index 7e81add5a9a70d192328965be2bc92ecda88f864..f5ff02f1aa17084b9b1c1e920d6317e7194b3252 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #include <stdio.h>
-#include <babeltrace/babeltrace.h>
+#include <babeltrace/babeltrace-internal.h>
 #include "ctf-scanner.h"
 #include "ctf-parser.h"
 #include "ctf-ast.h"
@@ -96,6 +96,7 @@ L\"                           BEGIN(string_lit); return STRING_LITERAL_START;
 align                          setstring(yyextra, yylval, yytext); return TOK_ALIGN;
 const                          setstring(yyextra, yylval, yytext); return CONST;
 char                           setstring(yyextra, yylval, yytext); return CHAR;
+clock                          setstring(yyextra, yylval, yytext); return CLOCK;
 double                         setstring(yyextra, yylval, yytext); return DOUBLE;
 enum                           setstring(yyextra, yylval, yytext); return ENUM;
 event                          setstring(yyextra, yylval, yytext); return EVENT;
This page took 0.022782 seconds and 4 git commands to generate.