summaryrefslogtreecommitdiff
path: root/sql/myskel.m4.in
blob: 13a39f9675c964a13ae5ffd257a354fadbcaccf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#
# fix the #line directives in the generated .cc files
# to refer to the original sql_yacc.yy
#
m4_define([b4_syncline],
[b4_sync_start([$1], m4_bpatsubst([$2],[@CMAKE_CURRENT_BINARY_DIR@/yy_[a-z]+\.yy],@CMAKE_CURRENT_SOURCE_DIR@/sql_yacc.yy))[]dnl

])

# try both paths for different bison versions
m4_sinclude(skeletons/c-skel.m4)
m4_sinclude(c-skel.m4)