Skip to content

Consecutive comments are not accepted #8

@bg-hub2

Description

@bg-hub2

This bug report ist for Racktet 8.13 [cs] from May 2024.
The experimental Algol 60 system does not accept a program text with two consecutive comments.
The following example demonstrates this:

#lang algol60
begin
  comment
      Example of two consecutive comments
    ;
  comment
      Racket Algol 60 does not allow two consecutive comments
    ;
  printsln(`Hello!')
end

The error message is

program.rkt:7:6: parse error near <identifier>
  context...:
   /usr/share/racket/collects/syntax/readerr.rkt:15:2: -raise-read-error
   .../syntax/module-reader.rkt:82:28: read
   /usr/share/racket/collects/syntax/module-reader.rkt:211:2: wrap-internal
   .../syntax/module-reader.rkt:76:9: wrap-internal/wrapper

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions