diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2016-07-26 23:50:23 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2016-07-26 23:50:23 +0200 |
commit | a8256910d40a0eee85bf539a3f120c9d92485f3f (patch) | |
tree | 83fd119fe43257ca131620656b94a698b23c4329 /KicadNetLexer.g4 | |
parent | 128e53d220d97225803d61d86f8e43439563181d (diff) | |
download | kicad-utils-a8256910d40a0eee85bf539a3f120c9d92485f3f.tar.gz kicad-utils-a8256910d40a0eee85bf539a3f120c9d92485f3f.tar.bz2 kicad-utils-a8256910d40a0eee85bf539a3f120c9d92485f3f.tar.xz kicad-utils-a8256910d40a0eee85bf539a3f120c9d92485f3f.zip |
o Working version with support for Arduino parts.
Diffstat (limited to 'KicadNetLexer.g4')
-rw-r--r-- | KicadNetLexer.g4 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/KicadNetLexer.g4 b/KicadNetLexer.g4 index 55bda85..e10f7e7 100644 --- a/KicadNetLexer.g4 +++ b/KicadNetLexer.g4 @@ -8,23 +8,25 @@ QUOTE: '"'; CODE: 'code'; COMP: 'comp'; FIELD: 'field'; +LIBSOURCE: 'libsource'; +LIBPART: 'libpart'; +LIB: 'lib'; NAME: 'name'; NET: 'net'; NODE: 'node'; NUM: 'num'; +PART: 'part'; PIN: 'pin'; REF: 'ref'; TYPE: 'type'; VALUE: 'value'; - -//STRING: '"' (~[\\"] | '\\' [\\"])* '"'; STRING: '"' ~["]* '"'; INTEGER: [0-9]+; ID - : [/+~\_\-\.\*/a-zA-Z0-9]+ + : [/+~\_\-\.\*\?/a-zA-Z0-9]+ ; BlockComment |