token dump
This commit is contained in:
parent
fd2d08fb24
commit
660306f6a5
3 changed files with 34 additions and 2 deletions
|
|
@ -2,12 +2,13 @@
|
|||
|
||||
%{
|
||||
#include <iostream>
|
||||
#include "../build/parser.hpp"
|
||||
|
||||
#define YY_DECL yy::Parser::symbol_type yylex(yyscan_t yyscanner, yy::location& loc)
|
||||
|
||||
#define YY_USER_ACTION loc.columns(yyleng);
|
||||
#define yyterminate() return yy::Parser::make_END(loc)
|
||||
|
||||
#include "../build/parser.hpp"
|
||||
|
||||
%}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue