Commits

Anonymous committed 9c0478b

hello world works

Comments (0)

Files changed (3)

example/hello.spl

 
 
 
-                    Scene I: Romeo and Juliet's conversation.
+                    Scene IV: Romeo and Juliet's conversation.
 
 [Enter Romeo and Juliet]
 
 
 [Exit Romeo]
 
-                    Scene II: Juliet and Ophelia's conversation.
+                    Scene V: Juliet and Ophelia's conversation.
 
 [Enter Ophelia]
 

src/parser/actions.pm

     $value := -1;
   }
   for $<adjective> {
-    unless $_<first_person_possessive> || $_<second_person_possessive> {
+    unless $_<first_person_possessive> || $_<second_person_possessive> || $_<third_person_possessive> {
       $value:= $value*2;
     }
   }

src/parser/grammar.pg

 |<negative_adjective>
 |<first_person_possessive>
 |<second_person_possessive>
+|<third_person_possessive>
 }
 
 token roman {