OrenGitHub / dhscanner.1.parsers

native languages asts parsed to dhscanner asts
GNU General Public License v3.0
0 stars 0 forks source link

:beetle: Bug unquoted python function name #10

Closed OrenGitHub closed 6 months ago

OrenGitHub commented 6 months ago
 1792                 "stmtFuncLocation": {
 1793                     "colEnd": 32,
 1794                     "colStart": 0,
 1795                     "filename": "workdir/blobs/sha256/app/library/basic_caption_gui.py",
 1796                     "lineEnd": 83,
 1797                     "lineStart": 13
 1798                 },
 1799                 "stmtFuncName": {
 1800                     "content": "'caption_images'", # <--- should be unquoted !
 1801                     "location": {
 1802                         "colEnd": 32,
 1803                         "colStart": 0,
 1804                         "filename": "workdir/blobs/sha256/app/library/basic_caption_gui.py",
 1805                         "lineEnd": 83,
 1806                         "lineStart": 13
 1807                     }
 1808                 },
OrenGitHub commented 6 months ago

Fixed:

 1792                 "stmtFuncLocation": {
 1793                     "colEnd": 32,
 1794                     "colStart": 0,
 1795                     "filename": "workdir/blobs/sha256/app/library/basic_caption_gui.py",
 1796                     "lineEnd": 83,
 1797                     "lineStart": 13
 1798                 },
 1799                 "stmtFuncName": {
 1800                     "content": "caption_images",
 1801                     "location": {
 1802                         "colEnd": 32,
 1803                         "colStart": 0,
 1804                         "filename": "workdir/blobs/sha256/app/library/basic_caption_gui.py",
 1805                         "lineEnd": 83,
 1806                         "lineStart": 13
 1807                     }
 1808                 },