#55 Parser fails with bang in string literal

Closed
opened 8 years ago by nero · 0 comments

Originally at 2011-09-19T14:47:55Z by orbitz@github closed at 2011-09-19T20:49:45Z

!AjaxTest methodsFor: 'rendering'! renderOn: html

html h1
with: 'hi!'

! !

Reading file AjaxTest.st a ClassCategoryReader>>scanFrom: a ClassCategoryReader>>compileMethod: a Compiler>>load:forClass: a Compiler>>compile:forClass: a Compiler>>compile: a Compiler>>parse: a Smalltalk>>parse: a Smalltalk>>try:catch: a Smalltalk>>basicParse: Parse error on line 3 column 11 : Expected "''", ['] or [^'] but end of input found. Below is code with line numbers and ===> marker inserted: 1: renderOn: html 2: html h1 3: with: 'hi ===>

a Compiler>>loadExpression: a Compiler>>compileExpression: a Compiler>>parse: a Smalltalk>>parse: a Smalltalk>>try:catch: a Smalltalk>>basicParse: Parse error on line 1 column 16 : Expected "''", ['] or [^'] but end of input found. Below is code with line numbers and ===> marker inserted: 1: doIt ^['] value ===>

Exporting (debug) category AjaxTest as AjaxTest.js Done.

Originally at 2011-09-19T14:47:55Z by orbitz@github closed at 2011-09-19T20:49:45Z !AjaxTest methodsFor: 'rendering'! renderOn: html html h1 with: 'hi!' ! ! Reading file AjaxTest.st a ClassCategoryReader>>scanFrom: a ClassCategoryReader>>compileMethod: a Compiler>>load:forClass: a Compiler>>compile:forClass: a Compiler>>compile: a Compiler>>parse: a Smalltalk>>parse: a Smalltalk>>try:catch: a Smalltalk>>basicParse: Parse error on line 3 column 11 : Expected "''", ['] or [^'] but end of input found. Below is code with line numbers and ===> marker inserted: 1: renderOn: html 2: html h1 3: with: 'hi ===> a Compiler>>loadExpression: a Compiler>>compileExpression: a Compiler>>parse: a Smalltalk>>parse: a Smalltalk>>try:catch: a Smalltalk>>basicParse: Parse error on line 1 column 16 : Expected "''", ['] or [^'] but end of input found. Below is code with line numbers and ===> marker inserted: 1: doIt ^['] value ===> Exporting (debug) category AjaxTest as AjaxTest.js Done.
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.