nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba24801
)
nitlight_aas: inject a tailing `\n` to avoid parsing issues.
author
Jean Privat
<jean@pryen.org>
Thu, 23 Jun 2016 19:08:15 +0000
(15:08 -0400)
committer
Jean Privat
<jean@pryen.org>
Thu, 23 Jun 2016 19:14:58 +0000
(15:14 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
src/examples/nitlight_as_a_service.nit
patch
|
blob
|
history
diff --git
a/src/examples/nitlight_as_a_service.nit
b/src/examples/nitlight_as_a_service.nit
index
f0847f9
..
e117268
100644
(file)
--- a/
src/examples/nitlight_as_a_service.nit
+++ b/
src/examples/nitlight_as_a_service.nit
@@
-40,7
+40,7
@@
do
var mb = new ModelBuilder(model, tc)
# Parse the code
- var source = new SourceFile.from_string("", content)
+ var source = new SourceFile.from_string("", content + "\n")
var lexer = new Lexer(source)
var parser = new Parser(lexer)
var tree = parser.parse