Skip to content

Commit 72e4d1d

Browse files
remove UseArduinoPreprocessor from legacy context
1 parent 429978f commit 72e4d1d

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

legacy/builder/builder.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,6 @@ func (s *Builder) Run(ctx *types.Context) error {
140140

141141
func PreprocessSketch(ctx *types.Context) error {
142142
preprocessorImpl := preprocessor.PreprocessSketchWithCtags
143-
if ctx.UseArduinoPreprocessor {
144-
preprocessorImpl = preprocessor.PreprocessSketchWithArduinoPreprocessor
145-
}
146143
normalOutput, verboseOutput, err := preprocessorImpl(
147144
ctx.Sketch, ctx.BuildPath, ctx.SketchLibrariesDetector.IncludeFolders(), ctx.LineOffset,
148145
ctx.BuildProperties, ctx.OnlyUpdateCompilationDatabase)

legacy/builder/types/context.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,6 @@ type Context struct {
112112
// Custom build properties defined by user (line by line as "key=value" pairs)
113113
CustomBuildProperties []string
114114

115-
// Experimental: use arduino-preprocessor to create prototypes
116-
UseArduinoPreprocessor bool
117-
118115
// Parallel processes
119116
Jobs int
120117

0 commit comments

Comments
 (0)