Skip to content

Commit

Permalink
Rename 'hash' to 'area'
Browse files Browse the repository at this point in the history
  • Loading branch information
bbugyi200 committed Mar 13, 2024
1 parent a5b98ce commit 0df3ebc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/zorg/grammar/zorg_file/ZorgFile.g4
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ block : item+ NL? ;
item : (todo|note) ;
todo : 'o' atoms NL ;
note : '-' atoms NL ;
atom : (' ' tag|WORD) ;

atoms : atom+ ;
atom : (' ' tag|WORD) ;

tag : (context|hash|person|project) SYMBOL?;
tag : (area|context|person|project) SYMBOL*;
area : '#' ID ;
context : '@' ID ;
hash : '#' ID ;
person : '%' ID ;
project : '+' ID ;

Expand Down

0 comments on commit 0df3ebc

Please sign in to comment.