Skip to content

Commit

Permalink
Add a colon to address parsing name grammar. (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
angelfor3v3r committed Apr 11, 2024
1 parent efcaf43 commit 31ad50b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ using namespace tao::pegtl;
struct HexNum : seq<one<'0'>, one<'x'>, plus<xdigit>> {};
struct DecNum : plus<digit> {};
struct Num : sor<HexNum, DecNum> {};
struct NameChar : sor<alnum, one<' ', '(', ')', '_', '-', ',', '.', '/', '\\'>> {};
struct NameChar : sor<alnum, one<' ', '(', ')', '_', '-', ',', '.', '/', '\\', ':'>> {};
struct Name : seq<plus<NameChar>> {};
struct Offset : seq<Num, opt<one<'-'>, one<'>'>, struct Offset>> {};
struct ModOffset : seq<one<'<'>, Name, one<'>'>, opt<one<'+'>, Offset>> {};
Expand Down

0 comments on commit 31ad50b

Please sign in to comment.