Skip to content

Allow unary plus in input files

Sebastian Ohlmann requested to merge 41-problem-with-sign-in-the-parser into develop

Description

Change the parser grammar to not only allow, e.g., -5, but also +5 as an expression.

As usual, grammar.c has been produced by bison.

News snippet

Allow unary plus in input files.

Checklist

  • I have checked that my code follows the Octopus coding standards
  • I have added tests for all the new features added in this request.

Closes #41 (closed)

Merge request reports