diff options
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 |