Ignore:
Timestamp:
Jun 22, 2012, 5:13:30 PM (9 years ago)
Author:
sam
Message:

easymesh: move the Mesh builder into the engine core.

Location:
trunk/src/easymesh
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/easymesh/easymesh-parser.y

    r1509 r1510  
    11%{
    22//
    3 // Orbital
     3// Lol Engine
    44//
    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>
    67//            (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.
    812//
    913
     
    1317
    1418#include "core.h"
    15 #include "loldebug.h"
    16 
    17 using namespace lol;
    18 
    19 #include "../mesh.h"
     19#include "easymesh/easymesh.h"
    2020
    2121#include <string>
     22
    2223%}
    2324
     
    2627%defines
    2728%skeleton "lalr1.cc"
    28 %name-prefix="orbital"
    29 %define parser_class_name "MeshParser"
     29%name-prefix="lol"
     30%define parser_class_name "EasyMeshParser"
    3031%locations
    31 %parse-param { class MeshCompiler& mc }
     32%parse-param { class EasyMeshCompiler& mc }
    3233%error-verbose
    3334
     
    6364
    6465%{
    65 #include "../mesh-compiler.h"
     66#include "easymesh/easymesh-compiler.h"
    6667
    6768#undef yylex
     
    174175%%
    175176
    176 void orbital::MeshParser::error(const MeshParser::location_type& l,
     177void lol::EasyMeshParser::error(const EasyMeshParser::location_type& l,
    177178                                const std::string& m)
    178179{
Note: See TracChangeset for help on using the changeset viewer.