In a 1-quart saucepan, combine the sugar and water. Put it over medium heat and stir to help the sugar dissolve. Once the sugar has dissolved and the syrup is hot, take it off the heat and add the chopped basil. Allow the syrup to cool for 15 minutes, strain it through a fine mesh sieve, and discard the basil. The syrup may be made up to 2 weeks in advance and refrigerated in an airtight container until ready to use.