Jira (NPUP-18) Lexer does not properly handle double quoted strings with embedded double quotes in an interpolation

2016-02-24 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Native Puppet /  NPUP-18 
 
 
 
  Lexer does not properly handle double quoted strings with embedded double quotes in an interpolation  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kylo Ginsberg 
 
 
 

Sprint:
 
 Language 2016-02-24 , Language 2016-03-09 (Burn CF) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (NPUP-18) Lexer does not properly handle double quoted strings with embedded double quotes in an interpolation

2016-02-10 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Native Puppet /  NPUP-18 
 
 
 
  Lexer does not properly handle double quoted strings with embedded double quotes in an interpolation  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Peter Huene 
 
 
 

Created:
 

 2016/02/10 1:28 PM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Peter Huene 
 
 
 
 
 
 
 
 
 
 
The lexer currently assumes that double quoted strings are anything between two double quoted characters, where the ending quote is not escaped. 
This is incorrect as Puppet supports not having to escape double quoted strings in an interpolation _expression_ within the string. 
For example: 
 
 
 
 
 
 
notice "${"foo"}"
 
 
 
 
 
 
 
This should output 'foo'. Instead, it is a syntax error as the lexer interprets the double quoted string as two strings ("${" and "}") separated by a name foo. 
 
 
 
 
 
 
 
 
 
 
 
 

Jira (NPUP-18) Lexer does not properly handle double quoted strings with embedded double quotes in an interpolation

2016-02-10 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Native Puppet /  NPUP-18 
 
 
 
  Lexer does not properly handle double quoted strings with embedded double quotes in an interpolation  
 
 
 
 
 
 
 
 
 

Change By:
 
 Peter Huene 
 
 
 

Story Points:
 
 2 3 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (NPUP-18) Lexer does not properly handle double quoted strings with embedded double quotes in an interpolation

2016-02-10 Thread Steve Barlow (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Steve Barlow updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Native Puppet /  NPUP-18 
 
 
 
  Lexer does not properly handle double quoted strings with embedded double quotes in an interpolation  
 
 
 
 
 
 
 
 
 

Change By:
 
 Steve Barlow 
 
 
 

Sprint:
 
 Language  Triage  2016-02-24 (Burn FF) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (NPUP-18) Lexer does not properly handle double quoted strings with embedded double quotes in an interpolation

2016-02-10 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  NPUP-18 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Lexer does not properly handle double quoted strings with embedded double quotes in an interpolation  
 
 
 
 
 
 
 
 
 
 
String interpolation can nest to any level. e.g. 
 
 
 
 
 
 
  
 
 
 
 
 
 
"string1 ${ "string2 $ { "string3..." } 
 end of string2"} end of string 1" 
 
 
 
 
 
 
  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at