Signed-off-by: houhaoyu <houhaoyu@huawei.com>
Change-Id: I6bee9d5b48a0aab0860e413b051a1041ee178cc4
This commit is contained in:
houhaoyu
2021-10-12 20:14:42 +08:00
parent 72c3e2d41a
commit 326ef982fe
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -35,4 +35,4 @@ exec('mkdir peg_parser/dist');
await exec('pegjs -o peg_parser/dist/' + name + '.js peg_parser/src/' + item);
}
}
})()
})()
+1 -1
View File
@@ -23,4 +23,4 @@ attribute = attr_head attr_tail
attr_head = $ [a-zA-Z_$]+
attr_tail = $ [a-zA-Z0-9_$]*
item = whiteSpace '(' [^()]* item* [^()]* ')' whiteSpace
whiteSpace = [ \t\r\n]*
whiteSpace = [ \t\r\n]*
+1 -1
View File
@@ -113,4 +113,4 @@ funcBody_extend = body:($[^{}]* item* [^{}]*)
}
item = $ (whiteSpace '{' [^{}]* item* [^{}]* '}' whiteSpace)
whiteSpace = $ [ \t\r\n]*
whiteSpace = $ [ \t\r\n]*