jitcraft/Exception.cpp
author David Anderson <dvander@alliedmods.net>
Sat Jul 07 21:01:39 2012 -0700 (2012-07-07)
changeset 57 8f1e74d35718
parent 25 23e8b3d8e4e6
child 59 b7d61ddb3c8d
permissions -rw-r--r--
Convert AST std::vector to PoolList.
     1 
     2 /*
     3  * Copyright (C) 2012 David Anderson
     4  *
     5  * This file is part of JITCraft.
     6  *
     7  * JITCraft is free software: you can redistribute it and/or modify it under
     8  * the terms of the GNU General Public License as published by the Free
     9  * Software Foundation, either version 3 of the License, or (at your option)
    10  * any later version.
    11  * 
    12  * Foobar is distributed in the hope that it will be useful, but WITHOUT ANY
    13  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
    14  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
    15  *
    16  * You should have received a copy of the GNU General Public License along with
    17  * JITCraft. If not, see http://www.gnu.org/licenses/.
    18  */
    19 #include "Utility.h"
    20 #include "Messages.h"
    21 
    22 using namespace jc;
    23 
    24 const MessageInfo jc::Messages[] =
    25 {
    26 #define MSG(Name, Type, String) \
    27     { MessageType_##Type, String },
    28 # include "Messages.tbl"
    29 #undef MSG
    30     { MessageType_SyntaxError, NULL }
    31 };