File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Domain/HydraScript.Domain.FrontEnd/Parser/Impl Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ private ScriptBody Script() =>
8383 private List < StatementListItem > StatementList ( )
8484 {
8585 var statementList = new List < StatementListItem > ( ) ;
86- while ( CurrentIsDeclaration ( ) || CurrentIsExpression ( ) || CurrentIs ( "Print " ) ||
86+ while ( CurrentIsDeclaration ( ) || CurrentIsExpression ( ) || CurrentIs ( "Output " ) ||
8787 CurrentIsKeyword ( "return" ) || CurrentIsKeyword ( "break" ) || CurrentIsKeyword ( "continue" ) ||
8888 CurrentIsKeyword ( "if" ) || CurrentIsKeyword ( "while" ) )
8989 {
@@ -146,7 +146,7 @@ private Statement Statement()
146146 if ( CurrentIsKeyword ( "while" ) )
147147 return WhileStatement ( ) ;
148148
149- if ( CurrentIs ( "Print " ) )
149+ if ( CurrentIs ( "Output " ) )
150150 return OutputStatement ( ) ;
151151
152152 return null ! ;
@@ -224,7 +224,7 @@ private WhileStatement WhileStatement()
224224 /// </summary>
225225 private OutputStatement OutputStatement ( )
226226 {
227- Expect ( "Print " ) ;
227+ Expect ( "Output " ) ;
228228 return new OutputStatement ( Expression ( ) ) ;
229229 }
230230
You can’t perform that action at this time.
0 commit comments