projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bebbf7
)
ada: Fix gnatmake's parsing of adc files
author
Ronan Desplanques
<desplanques@adacore.com>
Fri, 4 Nov 2022 15:54:35 +0000
(16:54 +0100)
committer
Marc Poulhiès
<poulhies@adacore.com>
Mon, 21 Nov 2022 10:10:31 +0000
(11:10 +0100)
Before this patch, gnatmake's parser for adc files failed to ignore
semicolons located inside comments. This patch fixes that behavior.
gcc/ada/
* sfn_scan.adb (Scan_SFN_Pragmas): Improve handling of comments.
gcc/ada/sfn_scan.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/sfn_scan.adb
b/gcc/ada/sfn_scan.adb
index
b428ed7
..
8ee9a09
100644
(file)
--- a/
gcc/ada/sfn_scan.adb
+++ b/
gcc/ada/sfn_scan.adb
@@
-583,6
+583,7
@@
package body SFN_Scan is
else
Skip_Loop : loop
+ Skip_WS;
exit Main_Scan_Loop when At_EOF;
exit Skip_Loop when S (P) = ';';