Skip to content

Commit

Permalink
(#318) linter fixed namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Robby-the-paladin committed Feb 12, 2024
1 parent 6282475 commit a74674e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libs/AutomataParser/include/AutomataParser/Lexer.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
#include <lexy/visualize.hpp>
#include <lexy/input/file.hpp>
#include <lexy_ext/report_error.hpp>
#include <string>
#include <map>
#define lexy_ascii_tree lexy::parse_tree_for<lexy::buffer<lexy::ascii_encoding>, void, void>

namespace dsl = lexy::dsl;

//=== string constants ===//
namespace AutomataParser { // namespace AutomataParser
namespace AutomataParser {
const std::string node_id = "node_id";
const std::string statement = "stmt";
const std::string terminal_mark = "terminal_mark";
Expand All @@ -25,7 +26,7 @@ namespace AutomataParser { // namespace AutomataParser
const std::string memory_cell = "memory_cell";

const std::string epsilon = "eps";
}
} // namespace AutomataParser

class Lexer{
private:
Expand Down

0 comments on commit a74674e

Please sign in to comment.