mirror of
https://github.com/XAMPPRocky/tokei
synced 2024-10-01 05:23:37 +00:00
Add support for GDB scripts (#456)
This commit is contained in:
parent
6ab6ea306f
commit
1b3e6d01fa
|
@ -378,6 +378,7 @@ Forth
|
|||
FORTRAN Legacy
|
||||
FORTRAN Modern
|
||||
F*
|
||||
GDB Script
|
||||
GDScript
|
||||
Gherkin (Cucumber)
|
||||
GLSL
|
||||
|
|
|
@ -666,6 +666,16 @@
|
|||
"fsscript"
|
||||
]
|
||||
},
|
||||
"GDB":{
|
||||
"name":"GDB Script",
|
||||
"base":"hash",
|
||||
"line_comment":[
|
||||
"#"
|
||||
],
|
||||
"extensions":[
|
||||
"gdb"
|
||||
]
|
||||
},
|
||||
"GdScript":{
|
||||
"name":"GDScript",
|
||||
"base":"hash",
|
||||
|
|
15
tests/data/gdb.gdb
Normal file
15
tests/data/gdb.gdb
Normal file
|
@ -0,0 +1,15 @@
|
|||
# 15 lines 7 code 5 comments 3 blanks
|
||||
#
|
||||
# This is a comment line. We don't have multi-comment lines
|
||||
#
|
||||
|
||||
macro define offsetof(_type, _memb) ((long)(&((_type *)0)->_memb))
|
||||
|
||||
break foo
|
||||
continue
|
||||
|
||||
# Let's have something print when a breakpoint is hit.
|
||||
commands 2
|
||||
p i
|
||||
continue
|
||||
end
|
Loading…
Reference in a new issue