diff --git a/a.clo b/a.clo index f98a5c3..ac2b033 100644 --- a/a.clo +++ b/a.clo @@ -1,6 +1,6 @@ /* ba choir ipsum lorem*/ - +import * as dublin from 'dublin'; --- 我是一隻古怪的虎斑貓。擅長喵喵叫。 the quick brown fox jumps over the lazy dog. diff --git a/a.js b/a.js index 317dd04..f10ef75 100644 --- a/a.js +++ b/a.js @@ -6,8 +6,8 @@ import * as clo from "clo"; cl = clo.initClo(); /* CLO: end of head*/ /* ba choir -ipsum lorem*/ - +ipsum lorem*/; +import * as dublin from 'dublin'; /* CLO: beginning of middle part*/ cl.mainText = /* CLO: end of middle part*/ diff --git a/src/parser.ts b/src/parser.ts index 269b698..5521491 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -273,7 +273,7 @@ export function treeToJS(tree : tkTree): string{ let importsText = imports.map( (x)=>{ if (Array.isArray(x)){ - return x.join(''); + return x.join('') + ';'; } else{ return x;