Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Double quotes inside multiline strings fail to parse #39

Closed
arshajii opened this issue Aug 28, 2019 · 0 comments
Closed

Double quotes inside multiline strings fail to parse #39

arshajii opened this issue Aug 28, 2019 · 0 comments
Assignees
Labels
Parser Issues related to the lexer/parser

Comments

@arshajii
Copy link
Member

This works:

'''
'a'
'''

This fails:

'''
"a"
'''

with error

Uncaught exception:

  (Scanf.Scan_failure
   "scanf: bad input at char number 3: end of input not found")

Raised at file "scanf.ml" (inlined), line 444, characters 18-40
Called from file "scanf.ml", line 1164, characters 4-75
Called from file "seqaml/lexer.mll", line 52, characters 25-33
Called from file "grammar.ml", line 23209, characters 15-27
Called from file "grammar.ml", line 23236, characters 24-51
Called from file "seqaml/codegen.ml", line 17, characters 14-56
Called from file "runner.ml", line 15, characters 12-77
Called from file "runner.ml", line 32, characters 4-28
Called from file "runner.ml", line 61, characters 19-43
@arshajii arshajii changed the title Quotes inside multiline strings fail to parse Double quotes inside multiline strings fail to parse Aug 28, 2019
@arshajii arshajii added the Parser Issues related to the lexer/parser label Sep 5, 2019
inumanag added a commit that referenced this issue Sep 13, 2019
Parser fixes (Fix #39; Fix #42; Fix #47; Fix #48)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Parser Issues related to the lexer/parser
Projects
None yet
Development

No branches or pull requests

2 participants