doc: Fix a syntax error in an example in 'Generating sources'. [skip ci]

pull/3182/head
TÖRÖK Attila 7 years ago committed by Aleksey Filippov
parent 7e52ba05ad
commit 3e92a86db4
  1. 2
      docs/markdown/Generating-sources.md

@ -127,7 +127,7 @@ argument list as separate elements.
gen3 = generator(genprog, gen3 = generator(genprog,
output : '@BASENAME@.cc', output : '@BASENAME@.cc',
arguments : ['@INPUT@', '@EXTRA_ARGS@', '@OUTPUT@']) arguments : ['@INPUT@', '@EXTRA_ARGS@', '@OUTPUT@'])
gen3_src1 = gen3.process('input1.y) gen3_src1 = gen3.process('input1.y')
gen3_src2 = gen3.process('input2.y', extra_args: '--foo') gen3_src2 = gen3.process('input2.y', extra_args: '--foo')
gen3_src3 = gen3.process('input3.y', extra_args: ['--foo', '--bar']) gen3_src3 = gen3.process('input3.y', extra_args: ['--foo', '--bar'])
``` ```

Loading…
Cancel
Save