Skip to content

String rendering in Java does not work #159

@gapag

Description

@gapag

BNFC 2.8.
Consider grammar

One . BugOne ::= "the_following_is_a_quoted_string" String;

run

bnfc --java -m quotebug.cf
make

then

java quotebug.Test < input

where input 's content is

the_following_is_a_quoted_string "here I am"

Output is

Parse Succesful!

[Abstract Syntax]

(One "here I am") 

[Linearized Tree]

the_following_is_a_quoted_string here I am

but last line should be

the_following_is_a_quoted_string "here I am"

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions