Error handling

- Validates specified columns in custom reports against list of good
  column names.
- Validates list of sort columns in custom reports against list of
  specified column names.
- Minor fix to grammar file.
This commit is contained in:
Paul Beckingham 2009-02-15 22:33:18 -05:00
parent 4e63d93005
commit 1a4469d388
3 changed files with 61 additions and 3 deletions

View file

@ -8,7 +8,7 @@ command ::= simple_command
| id_command
| "export" file
| <id>
| <id> <substitution>
| <id> <substitution> ;
simple_command ::= "version" | "help" | "projects" | "tags" | "next" | "stats"
| "color" ;
@ -27,8 +27,8 @@ filter_part ::= tag_add | tag_remove | attribute | word ;
tag_add ::= "+" word ;
tag_remove ::= "-" word ;
attribute ::= word ":" word ;
word ::= ...
file ::= ...
word ::=
file ::=
id ::= digit+ ;
digit ::= "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ;
substitution ::= "/" word+ "/" word* "/" ;