Menu

#3 Flagging a specific parse pattern wrongly as erroneous

1.0
closed
nobody
None
2017-04-21
2017-04-14
No

The following Rexx program uses a valid parse pattern:

str="one two three"
parse var str =2 t +1
say t

will return

n

The plugin flags the parse keyword statement as erroneous, giving as an error message:

'(' expected, got '2'

Theset absolute position "=" operator can be followed by a literal whole number or an expression.

Discussion

  • aseik

    aseik - 2017-04-21

    Thanks for the report!

    The fix will be in the next version.

    Greetings
    Alexander

     
    • Walter

      Walter - 2017-04-21

      Lieber Herr Seik,

      Könnte ich eine Kurzbio bekommen um sie auf
      http://www.rexxla.org/events/2017/speakers.html zu ergänzen?

      The Rexx Language Association

      Speaker Alexander Seik - <tbd>
      Credentials

      tbd

      aseik aseik@users.sf.net hat am 21. April 2017 um 20:59 geschrieben:

      Thanks for the report!
      
      The fix will be in the next version.
      
      Greetings
      Alexander
      
      ---------------------------------------------
      
      [oorexxplugin:#3] https://sourceforge.net/p/bsf4oorexx/oorexxplugin/3/
      

      Flagging a specific parse pattern wrongly as erroneous

      Status: open
      Milestone: 1.0
      Created: Fri Apr 14, 2017 02:40 PM UTC by Rony G. Flatscher
      Last Updated: Fri Apr 14, 2017 02:40 PM UTC
      Owner: nobody
      
      The following Rexx program uses a valid parse pattern:
      
      str="one two three"
      parse var str =2 t +1
      say t
      
      will return
      
      n
      
      The plugin flags the parse keyword statement as erroneous, giving as an
      

      error message:

      '(' expected, got '2'
      
      Theset absolute position "=" operator can be followed by a literal whole
      

      number or an expression.

      ---------------------------------------------
      
      Sent from sourceforge.net because you indicated interest in
      

      https://sourceforge.net/p/bsf4oorexx/oorexxplugin/3/

      To unsubscribe from further messages, please visit
      

      https://sourceforge.net/auth/subscriptions/

      LG

      Walter

       
  • aseik

    aseik - 2017-04-21
    • status: open --> closed
     

Log in to post a comment.