Browse Source

Implement new for loop keywords

Lucas de Souza 5 years ago
parent
commit
8aeb962cd3
1 changed files with 13 additions and 1 deletions
  1. 13 1
      grammar/pt/ivprog.g4

+ 13 - 1
grammar/pt/ivprog.g4

@@ -54,7 +54,19 @@ RK_RETURN
   ;  
 
 RK_FOR
-  : 'para'
+  : 'repita_para'
+  ;
+
+RK_FOR_FROM
+  : 'de'
+  ;
+
+RK_FOR_TO
+  : 'ate'
+  ;
+
+RK_FOR_PASS
+  : 'passo'
   ;
 
 RK_BREAK