]> granicus.if.org Git - graphviz/commit
suppress warnings from using Bison extensions in lib/expr/exparse.y
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 2 Sep 2020 00:53:43 +0000 (17:53 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 8 Sep 2020 14:39:21 +0000 (07:39 -0700)
commit80dc9a02020d423bce413a51f1a8c7e672b9fe0c
treea7036648bd300163c4e66c1689302fd30dc1e1e1
parentbb740f2e0884cc191f90a18568411fb25d3abfe8
suppress warnings from using Bison extensions in lib/expr/exparse.y

This is the equivalent of 8c099fc032074a0bb5961d67ef4df05ddca7eba4 but for a
different parser. Surprisingly exparse.y was already using Bison extensions, so
this actually suppresses two warnings:

  bison -y -dtv ../../lib/expr/exparse.y
  ../../lib/expr/exparse.y:131.1-7: warning: POSIX Yacc does not support %binary [-Wyacc]
   %binary       <op>    EQ      NE
   ^~~~~~~
  ../../lib/expr/exparse.y:132.1-7: warning: POSIX Yacc does not support %binary [-Wyacc]
   %binary       <op>    '<'     '>'     LE      GE
   ^~~~~~~

Related to #1806.
lib/expr/Makefile.am
lib/expr/expr.vcxproj