parsing restarts here after previous syntax error错误

parsing restarts here after previous syntax error


1、检查有没有多写或少写括号

2、换行“\”后不能带空格

3、实在检查不出错误,可clean project->rebuild project

Rebuild started: Project: Template *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\qiancode\ARM\ARMCC\Bin' Rebuild target 'Target 1' assembling startup_stm32f10x_hd_vl.s... compiling main.c... compiling stm32f10x_it.c... User\stm32f10x.h(343): error: #67: expected a "}" ADC1_IRQn = 18, /*!< ADC1 global Interrupt */ User\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; User\stm32f10x_it.c: 1 warning, 1 error compiling stm32f10x_gpio.c... .\User\stm32f10x.h(343): error: #67: expected a "}" ADC1_IRQn = 18, /*!< ADC1 global Interrupt */ .\User\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c: 1 warning, 1 error compiling core_cm3.c... compiling system_stm32f10x.c... .\User\stm32f10x.h(343): error: #67: expected a "}" ADC1_IRQn = 18, /*!< ADC1 global Interrupt */ .\User\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\CMSIS\system_stm32f10x.c: 1 warning, 1 error compiling stm32f10x_adc.c... .\User\stm32f10x.h(343): error: #67: expected a "}" ADC1_IRQn = 18, /*!< ADC1 global Interrupt */ .\User\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c: 1 warning, 1 error compiling stm32f10x_usart.c... .\User\stm32f10x.h(343): error: #67: expected a "}" ADC1_IRQn = 18, /*!< ADC1 global Interrupt */ .\User\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.c:
03-10
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值