From dd1622a1e417bf1740d48334fbfa4c64c854131d Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 20 Dec 2015 11:50:18 -0500 Subject: [PATCH] Build: Renamed main.cpp to timew.cpp - Adjusted copyright. - Fixed common dir bug. --- src/CMakeLists.txt | 4 ++-- src/LR0.cpp | 2 +- src/LR0.h | 2 +- src/{main.cpp => timew.cpp} | 3 +++ 4 files changed, 7 insertions(+), 4 deletions(-) rename src/{main.cpp => timew.cpp} (96%) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 540ff6e1..3c2d7869 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,13 +1,13 @@ cmake_minimum_required (VERSION 2.8) include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/src - ${CMAKE_SOURCE_DIR}/common + ${CMAKE_SOURCE_DIR}/src/common ${TIMEW_INCLUDE_DIRS}) set (timew_SRCS LR0.cpp LR0.h) add_library (timew STATIC ${timew_SRCS}) -add_executable (timew_executable main.cpp) +add_executable (timew_executable timew.cpp) target_link_libraries (timew_executable common timew ${TIMEW_LIBRARIES}) diff --git a/src/LR0.cpp b/src/LR0.cpp index 268aaf65..e6b0c31f 100644 --- a/src/LR0.cpp +++ b/src/LR0.cpp @@ -1,6 +1,6 @@ //////////////////////////////////////////////////////////////////////////////// // -// Copyright 2006 - 2015, Paul Beckingham, Federico Hernandez. +// Copyright 2015, Paul Beckingham, Federico Hernandez. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/src/LR0.h b/src/LR0.h index 33f20a4d..9195741b 100644 --- a/src/LR0.h +++ b/src/LR0.h @@ -1,6 +1,6 @@ //////////////////////////////////////////////////////////////////////////////// // -// Copyright 2006 - 2015, Paul Beckingham, Federico Hernandez. +// Copyright 2015, Paul Beckingham, Federico Hernandez. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/src/main.cpp b/src/timew.cpp similarity index 96% rename from src/main.cpp rename to src/timew.cpp index 7b434c22..e3c57434 100644 --- a/src/main.cpp +++ b/src/timew.cpp @@ -44,6 +44,9 @@ int main (int argc, const char** argv) try { // TODO Initialize configuration. + // TODO Load grammar. + // TODO Load rules. + // TODO Parse CLI. // TODO Dispatch to commands. }