raineorshine / solgraph

Visualize Solidity control flow for smart contract security analysis. :dollar: ⇆ :dollar:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Solidity ^0.4 syntax

shayanb opened this issue · comments

Parse error on pragma solidity ^0.4.0;

Parse error
{ [SyntaxError: Expected comment, end of line, identifier or whitespace but "0" found. Line: 7, Column: 22]
  message: 'Expected comment, end of line, identifier or whitespace but "0" found. Line: 7, Column: 22',
  expected:
   [ { type: 'other', description: 'comment' },
     { type: 'other', description: 'end of line' },
     { type: 'other', description: 'identifier' },
     { type: 'other', description: 'whitespace' } ],
  found: '0',
  location:
   { start: { offset: 180, line: 7, column: 22 },
     end: { offset: 181, line: 7, column: 23 } },
  name: 'SyntaxError' }

PR #8 should help with that.

The PR #8 has been merge so it should work fine now. That would be awesome if you could check and close this issue @shayanb

Yup worked fine! thanks

It'd be good to have an output saying "Done" or "success" on successful execution though :)

Awesome. For the 'done' issue, I would suggest another issue. Thanks for closing this one.