ParserError: Expected pragma, import directive or contract

if ı used Truffle Compile , I have this error; What can ı do?
:

Exmaple.sol:255:1: ParserError: Expected pragma, import directive or contract/interface/library definition.
abstract contract Context {
^------^

sorun

Could you please share the full contract code?

Hi, truffle can't be happy with any version of solidity, they both have to make a good pair so let them find their good pair
simply write This line below inside and your file so truffle will decide its own happy pair, file name too in your case for ex it example,sol so just rename it with this below

pragma solidity >=0.4.22 <0.6.0;

should help straight away
:))