dtc-lexer.l (204488) | dtc-lexer.l (204489) |
---|---|
1/* 2 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. 3 * 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation; either version 2 of the 8 * License, or (at your option) any later version. --- 24 unchanged lines hidden (view full) --- 33COMMENT "/*"([^*]|\*+[^*/])*\*+"/" 34LINECOMMENT "//".*\n 35 36%{ 37#include "dtc.h" 38#include "srcpos.h" 39#include "dtc-parser.tab.h" 40 | 1/* 2 * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. 3 * 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation; either version 2 of the 8 * License, or (at your option) any later version. --- 24 unchanged lines hidden (view full) --- 33COMMENT "/*"([^*]|\*+[^*/])*\*+"/" 34LINECOMMENT "//".*\n 35 36%{ 37#include "dtc.h" 38#include "srcpos.h" 39#include "dtc-parser.tab.h" 40 |
41YYLTYPE yylloc; 42 |
|
41#define YY_USER_ACTION \ 42 { \ 43 yylloc.file = srcpos_file; \ 44 yylloc.first_line = yylineno; \ 45 } 46 47/*#define LEXDEBUG 1*/ 48 --- 216 unchanged lines hidden --- | 43#define YY_USER_ACTION \ 44 { \ 45 yylloc.file = srcpos_file; \ 46 yylloc.first_line = yylineno; \ 47 } 48 49/*#define LEXDEBUG 1*/ 50 --- 216 unchanged lines hidden --- |