Commits

Anonymous committed 03b411d

cosmethic

Comments (0)

Files changed (1)

src/parser/grammar.pg

 }
 
 rule chardef {
-  <character> ',' <description> <end>
-  {*}
+  <character> ',' <description> <end> {*}
 }
 rule line {
- <character> ':' [<sentence> <end>]+
-  {*}
+  <character> ':' [<sentence> <end>]+  {*}
 }
 rule charlist {
   <character>? ['and' <character>]*
 }
 
 rule assignment {
-  [
-  |<second_person> <be> 'as' <adjective> 'as' <value> 
-  |<second_person> <be>? <value>
-  ]
-  {*}
+  |<second_person> <be> 'as' <adjective> 'as' <value> {*}
+  |<second_person> <be>? <value> {*}
 }
 
 rule branch {
-  [ 'let us' | 'we shall' |'we must' ]  [ 'return' | 'proceed' ] 'to' 'scene' <roman> {*}
+  [ 'let' 'us' | 'we' [ 'shall' | 'must' ] ]  [ 'return' | 'proceed' ] 'to' 'scene' <roman> {*}
 }
 
 rule question {
 }
 
 token noun {
-|<positive_noun>
-|<negative_noun>
-|<neutral_noun> 
-|<nothing>
+  |<positive_noun>
+  |<negative_noun>
+  |<neutral_noun> 
+  |<nothing>
 }
 
 token reference {
-|<second_person_reflexive> {*} #= you_ref
-|<second_person> {*} #= you_ref
-|<first_person> {*} #= self_ref
-|<first_person_reflexive> {*} #= self_ref
-|<character> {*} #= named_ref
+  |<second_person_reflexive> {*} #= you_ref
+  |<second_person> {*} #= you_ref
+  |<first_person> {*} #= self_ref
+  |<first_person_reflexive> {*} #= self_ref
+  |<character> {*} #= named_ref
 }
 
 token adjective {
-|<positive_adjective>
-|<neutral_adjective>
-|<negative_adjective>
-|<first_person_possessive>
-|<second_person_possessive>
-|<third_person_possessive>
+  |<positive_adjective>
+  |<neutral_adjective>
+  |<negative_adjective>
+  |<first_person_possessive>
+  |<second_person_possessive>
+  |<third_person_possessive>
 }
 
 token roman {