Changeset 1510 for trunk/src/easymesh/easymesh-parser.y
- Timestamp:
- Jun 22, 2012, 5:13:30 PM (9 years ago)
- Location:
- trunk/src/easymesh
- Files:
-
- 1 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/easymesh/easymesh-parser.y
r1509 r1510 1 1 %{ 2 2 // 3 // Orbital3 // Lol Engine 4 4 // 5 // Copyright: (c) 2009-2012 Cédric Lecacheur <jordx@free.fr> 5 // Copyright: (c) 2010-2012 Sam Hocevar <sam@hocevar.net> 6 // (c) 2009-2012 Cédric Lecacheur <jordx@free.fr> 6 7 // (c) 2009-2012 Benjamin Huet <huet.benjamin@gmail.com> 7 // (c) 2012 Sam Hocevar <sam@hocevar.net> 8 // This program is free software; you can redistribute it and/or 9 // modify it under the terms of the Do What The Fuck You Want To 10 // Public License, Version 2, as published by Sam Hocevar. See 11 // http://sam.zoy.org/projects/COPYING.WTFPL for more details. 8 12 // 9 13 … … 13 17 14 18 #include "core.h" 15 #include "loldebug.h" 16 17 using namespace lol; 18 19 #include "../mesh.h" 19 #include "easymesh/easymesh.h" 20 20 21 21 #include <string> 22 22 23 %} 23 24 … … 26 27 %defines 27 28 %skeleton "lalr1.cc" 28 %name-prefix=" orbital"29 %define parser_class_name " MeshParser"29 %name-prefix="lol" 30 %define parser_class_name "EasyMeshParser" 30 31 %locations 31 %parse-param { class MeshCompiler& mc }32 %parse-param { class EasyMeshCompiler& mc } 32 33 %error-verbose 33 34 … … 63 64 64 65 %{ 65 #include " ../mesh-compiler.h"66 #include "easymesh/easymesh-compiler.h" 66 67 67 68 #undef yylex … … 174 175 %% 175 176 176 void orbital::MeshParser::error(constMeshParser::location_type& l,177 void lol::EasyMeshParser::error(const EasyMeshParser::location_type& l, 177 178 const std::string& m) 178 179 {
Note: See TracChangeset
for help on using the changeset viewer.