Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error if dot is used instead of colon at the start of block #105

Open
eglekaz opened this issue Dec 12, 2024 · 0 comments
Open

Error if dot is used instead of colon at the start of block #105

eglekaz opened this issue Dec 12, 2024 · 0 comments

Comments

@eglekaz
Copy link

eglekaz commented Dec 12, 2024

In Progress it is always possible to replace the colon with a dot (even though it is very much not recommended!), and the code compiles and functions correctly.
It would be good to have it parsed as well.
Here are some examples:

define variable iEntries     as integer no-undo initial 4.
define variable iLine        as integer no-undo.
        
do iLine = 1 to iEntries - 1.
  message iLine.     
end.
class Testings:
  constructor public Testings(databasename as char):
    message "create " + databasename.
  end constructor.
  
  method public void stuff(  ).
    message "hi".
  end method.
end class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant